Hi,

On dim., 30 oct. 2022 at 14:57, Felix Lechner via Bug reports for GNU Guix 
<bug-guix@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



Reply via email to