[email protected] (Ludovic Courtès) writes:
> Mark H Weaver <[email protected]> skribis:
>
>> IMO, it's not reasonable to have to add
>> /home/<USER>/<PROFILE>/bin/<SHELL> for every combination of <USER>,
>> <PROFILE>, and <SHELL> to /etc/shells, in order to prevent 'xterm' from
>> overriding your $SHELL setting.
>
> On NixOS, /etc/shells contains this:
>
> /run/current-system/sw/bin/bash
> /var/run/current-system/sw/bin/bash
> /bin/sh
>
> Where {/var/,}/run/current-system contains the “global” profile, like on
> our QEMU images.
>
> Perhaps that’s good enough no?
If a user wants to set $SHELL to be the one in their private profile,
I think 'xterm' shouldn't ignore it and modify $SHELL just because it
hasn't been authorized by the administrator of the system. This seems
to me to be against the spirit of "liberating".
Well, it seems that I'll have to live on a local branch of Guix, with my
own modifications. I suppose this is not necessarily a bad thing. The
ease with which this can be done is part of what makes Guix liberating,
after all.
Mark