GNU bug report logs -
#58908
Position of '--check' makes or breaks 'guix shell'
Previous Next
Full log
View this message in rfc822 format
Hi,
On dim., 30 oct. 2022 at 14:57, Felix Lechner via Bug reports for GNU Guix <bug-guix <at> gnu.org> wrote:
> For the Guix file below, which is also available here [1], the
> position of the --check makes or breaks the command.
>
> With
>
> guix shell --development --check --file=guix.scm
>
> $ which autopoint
>
> which: no autopoint in
> (/home/lechner/.guix-home/profile/bin:/home/lechner/.guix-home/profile/sbin:/run/setuid-programs:/home/lechner/.config/guix/current/bin:/home/lechner/.guix-profile/bin:/home/lechner/.guix-profile/sbin:/run/current-system/profile/bin:/run/current-system/profile/sbin)
>
> while with
>
> guix shell --development --file=guix.scm --check
It appears to me similar as #bug58859 [1]. The issue is that almost all
Guix subcommands process command line arguments from right to left.
When mixed «behaviour» argument as ’-D’ and «action» argument as
’--check’, it seems missing a plan to always process using the same
order. Unrelated to “guix shell”, it had been discussed for “guix
package”, see [2].
1: <http://issues.guix.gnu.org/issue/58859>
2: <http://issues.guix.gnu.org/issue/50473>
Cheers,
simon
This bug report was last modified 2 years and 233 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.