bug#67290: (current-profile) only works when invoked as a process named "guix"

2024-01-13 Thread Ian Eure
Simon Tournier writes: Hi, On Sun, 19 Nov 2023 at 13:24, Ian Eure wrote: The issue seems to be that current-profile checks the name of the program which was invoked, and always returns #f unless the name ends with "bin/guix". Since "guile" doesn’t, they don’t work as expected. See: ht

bug#67290: (current-profile) only works when invoked as a process named "guix"

2024-01-12 Thread Simon Tournier
Hi, On Sun, 19 Nov 2023 at 13:24, Ian Eure wrote: > The issue seems to be that current-profile checks the name of the > program which was invoked, and always returns #f unless the name ends > with "bin/guix". Since "guile" doesn’t, they don’t work as expected. > See: > https://git.savannah.gnu.

bug#67290: (current-profile) only works when invoked as a process named "guix"

2023-11-19 Thread Ian Eure
When you invoke `guix repl', the current-profile and current-channels procedures reflect my current profile and channel configuration: l0p!ieure~$ guix repl GNU Guile 3.0.9 Copyright (C) 1995-2023 Free Software Foundation, Inc. Guile comes with ABSOLUTELY NO WARRANTY; for details