From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 30 17:58:34 2022 Received: (at submit) by debbugs.gnu.org; 30 Oct 2022 21:58:34 +0000 Received: from localhost ([127.0.0.1]:39131 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1opGK9-00014Q-N9 for submit@debbugs.gnu.org; Sun, 30 Oct 2022 17:58:34 -0400 Received: from lists.gnu.org ([209.51.188.17]:39050) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1opGK6-00014I-MI for submit@debbugs.gnu.org; Sun, 30 Oct 2022 17:58:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1opGK6-000547-GI for bug-guix@gnu.org; Sun, 30 Oct 2022 17:58:30 -0400 Received: from linode.us-core.com ([2600:3c01::f03c:93ff:fe26:6229]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1opGK3-0006qm-Ld for bug-guix@gnu.org; Sun, 30 Oct 2022 17:58:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=zhMJB+yvh3E9qZR 3bz46N4KBSsHVSR4pGpMEDojRhZc=; h=to:subject:date:from; d=lease-up.com; b=VvwNgVeyek7KKpOFHNGTG8EZhYhixLke3XuW0KJ8LsgJvOwkBlWVqBhLfLMiHM7hwsZ+ pfv8kA2u3vbUJMRT2dP3btg7NwTtbBY3UceFcwLQ4ET57XEYmhxrIvpN8l/c98KhZfQRYy w0HRsFAtX6DrwqU3MzPDF1ra4KdvezXCM= Received: by linode.us-core.com (OpenSMTPD) with ESMTPSA id a02c9256 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for ; Sun, 30 Oct 2022 21:58:24 +0000 (UTC) Received: by mail-lf1-f44.google.com with SMTP id t4so3531288lfp.2 for ; Sun, 30 Oct 2022 14:58:24 -0700 (PDT) X-Gm-Message-State: ACrzQf0PpUh3gcuLmfs/MCmCC65w9EN6g+qz2YgKWfVpEJm9g36yb4K/ UOvFbNdAIAAVChKR2HbhAgVcqNgFwZ35aCvAY3s= X-Google-Smtp-Source: AMsMyM5B+5Tie+HPR1Im0YBj2Sc7HmOTdPfo6kgDA+I1Hnb7Becq0xr3eW0JRHh1KW1Z4DlTpRc3a19cB9tH6tInU7k= X-Received: by 2002:ac2:531c:0:b0:4a2:7c6b:4703 with SMTP id c28-20020ac2531c000000b004a27c6b4703mr3795813lfh.61.1667167102203; Sun, 30 Oct 2022 14:58:22 -0700 (PDT) MIME-Version: 1.0 From: Felix Lechner Date: Sun, 30 Oct 2022 14:57:45 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Position of '--check' makes or breaks 'guix shell' To: bug-guix@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2600:3c01::f03c:93ff:fe26:6229; envelope-from=felix.lechner@lease-up.com; helo=linode.us-core.com X-Spam_score_int: 16 X-Spam_score: 1.6 X-Spam_bar: + X-Spam_report: (1.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_SBL_CSS=3.335, RCVD_IN_XBL=0.375, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 2.2 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, For the Guix file below, which is also available here [1], the position of the --check makes or breaks the command. With Content analysis details: (2.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [2600:3c01:0:0:f03c:93ff:fe26:6229 listed in] [zen.spamhaus.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.51.188.17 listed in wl.mailspike.net] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom; id=felix.lechner%40lease-up.com; ip=209.51.188.17; r=debbugs.gnu.org] X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, For the Guix file below, which is also available here [1], the position of the --check makes or breaks the command. With Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.51.188.17 listed in wl.mailspike.net] -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [2600:3c01:0:0:f03c:93ff:fe26:6229 listed in] [zen.spamhaus.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom;id=felix.lechner%40lease-up.com;ip=209.51.188.17;r=debbugs.gnu.org] -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager Hi, 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=3Dguix.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/prof= ile/bin:/run/current-system/profile/sbin) while with guix shell --development --file=3Dguix.scm --check $ which autopoint /gnu/store/rcr081g34np6byhzj82m075487lnr6af-profile/bin/autopoint The list of the working and non-working environment variables can be found at the very bottom of this message. Kind regards Felix Lechner [1] https://codeberg.org/lechner/guile-pam/src/branch/history/guix.scm * * * (use-modules (gnu packages autotools) (gnu packages gettext) (gnu packages guile) (gnu packages guile-xyz) (gnu packages linux) (gnu packages mes) (gnu packages pkg-config) (gnu packages) (guix build-system gnu) (guix download) (guix gexp) (guix git-download) ((guix licenses) #:prefix license:) (guix packages) (guix utils)) (define-public my-linux-pam (package (inherit linux-pam) (version "1.5.2") (source (origin (method url-fetch) (uri (string-append "https://github.com/linux-pam/linux-pam/releases/download/v" version "/Linux-PAM-" version ".tar.xz")) (sha256 (base32 "0kgrsj2scv5mx6w925h9hxf11jnqqs9z8s22aw94b90xm4qp3v74")) (patches (search-patches "linux-pam-no-setfsuid.patch")))) (arguments (substitute-keyword-arguments (package-arguments linux-pam) ((#:configure-flags flags) ;; explicit libdir; drop when ;; https://github.com/linux-pam/linux-pam/issues/466 ;; was resolved '(list (string-append "--includedir=3D" (assoc-ref %outputs "out") "/include/security") (string-append "--libdir=3D" (assoc-ref %outputs "out") "/lib"))))))) (define-public guile-pam (let ((commit "65fef0971761f5b70191350884429da5bddcb4fa") (revision "0")) (package (name "guile-pam") (version (git-version "0.0" revision commit)) (source (origin (method git-fetch) (uri (git-reference (url "https://codeberg.org/lechner/guile-pam") (commit commit))) (file-name (git-file-name name version)) (sha256 (base32 "16zvwyv6hp58lffsniaas9kw23vlpwgzbrr7zs4p7391ybxx5gmm")))= ) (build-system gnu-build-system) (native-inputs (list autoconf automake libtool pkg-config guile-3.0 my-linux-pam nyacc gnu-gettext)) (inputs (list guile-3.0 guile-lib my-linux-pam)) (home-page "https://codeberg.org/lechner/guile-pam") (synopsis "Write your Linux-PAM authentication logic in Guile Scheme"= ) (description "Guile-PAM provides a way to rewrite your authentication logic in th= e Linux PAM (pluggable authentication modules) in Guile Scheme. It should mak= e those modules more transparent to the administrator and more intuitive to use.") (license license:gpl3+)))) guile-pam * * * Working output of 'env': ACLOCAL_PATH=3D/gnu/store/rcr081g34np6byhzj82m075487lnr6af-profile/share/ac= local:/home/lechner/.guix-home/profile/share/aclocal:/home/lechner/.guix-pr= ofile/share/aclocal ALACRITTY_LOG=3D/tmp/Alacritty-18373.log BASH_LOADABLES_PATH=3D/home/lechner/.guix-home/profile/lib/bash:/home/lechn= er/.guix-profile/lib/bash:/run/current-system/profile/lib/bash C_INCLUDE_PATH=3D/gnu/store/rcr081g34np6byhzj82m075487lnr6af-profile/includ= e:/home/lechner/.guix-home/profile/include:/home/lechner/.guix-profile/incl= ude COLORTERM=3Dtruecolor CPLUS_INCLUDE_PATH=3D/gnu/store/rcr081g34np6byhzj82m075487lnr6af-profile/in= clude/c++:/gnu/store/rcr081g34np6byhzj82m075487lnr6af-profile/include:/home= /lechner/.guix-home/profile/include/c++:/home/lechner/.guix-home/profile/in= clude:/home/lechner/.guix-profile/include/c++:/home/lechner/.guix-profile/i= nclude DBUS_FATAL_WARNINGS=3D0 DICPATH=3D/home/lechner/.guix-profile/share/hunspell:/run/current-system/pr= ofile/share/hunspell DISPLAY=3D:0.0 EMACSLOADPATH=3D/home/lechner/.guix-home/profile/share/emacs/site-lisp:/hom= e/lechner/.guix-profile/share/emacs/site-lisp:/run/current-system/profile/s= hare/emacs/site-lisp GDK_PIXBUF_MODULE_FILE=3D/home/lechner/.guix-home/profile/lib/gdk-pixbuf-2.= 0/2.10.0/loaders.cache GHC_PACKAGE_PATH=3D/home/lechner/.guix-home/profile/lib/ghc-8.10.7/package.= conf.d GIO_EXTRA_MODULES=3D/home/lechner/.guix-home/profile/lib/gio/modules:/run/c= urrent-system/profile/lib/gio/modules GIT_EXEC_PATH=3D/home/lechner/.guix-home/profile/libexec/git-core GIT_SSL_CAINFO=3D/etc/ssl/certs/ca-certificates.crt _=3D/gnu/store/rcr081g34np6byhzj82m075487lnr6af-profile/bin/env GST_PLUGIN_PATH=3D/home/lechner/.guix-profile/lib/gstreamer-1.0 GST_PLUGIN_SYSTEM_PATH=3D/home/lechner/.guix-home/profile/lib/gstreamer-1.0= :/run/current-system/profile/lib/gstreamer-1.0 GTK_DATA_PREFIX=3D/run/current-system/profile GUILE_LOAD_COMPILED_PATH=3D/gnu/store/rcr081g34np6byhzj82m075487lnr6af-prof= ile/lib/guile/3.0/site-ccache:/gnu/store/rcr081g34np6byhzj82m075487lnr6af-p= rofile/share/guile/site/3.0:/home/lechner/.guix-home/profile/lib/guile/3.0/= site-ccache:/home/lechner/.guix-home/profile/share/guile/site/3.0:/home/lec= hner/.guix-profile/lib/guile/3.0/site-ccache:/home/lechner/.guix-profile/sh= are/guile/site/3.0:/run/current-system/profile/lib/guile/3.0/site-ccache:/r= un/current-system/profile/share/guile/site/3.0 GUILE_LOAD_PATH=3D/gnu/store/rcr081g34np6byhzj82m075487lnr6af-profile/share= /guile/site/3.0:/home/lechner/.guix-home/profile/share/guile/site/3.0:/home= /lechner/.guix-profile/share/guile/site/3.0:/run/current-system/profile/sha= re/guile/site/3.0 GUIX_ENVIRONMENT=3D/gnu/store/rcr081g34np6byhzj82m075487lnr6af-profile GUIX_GTK3_PATH=3D/home/lechner/.guix-home/profile/lib/gtk-3.0:/home/lechner= /.guix-profile/lib/gtk-3.0:/run/current-system/profile/lib/gtk-3.0 GUIX_GTK4_PATH=3D/run/current-system/profile/lib/gtk-4.0 GUIX_LOCPATH=3D/gnu/store/rcr081g34np6byhzj82m075487lnr6af-profile/lib/loca= le:/run/current-system/locale:/gnu/store/mw3py6smb1pk8yx298hd9ivz9lzbksqi-g= libc-utf8-locales-2.33/lib/locale GUIX_PYTHONPATH=3D/home/lechner/.guix-home/profile/lib/python3.9/site-packa= ges HOME=3D/home/lechner HUSHLOGIN=3DFALSE INFOPATH=3D/home/lechner/.guix-home/profile/share/info:/home/lechner/.confi= g/guix/current/share/info:/home/lechner/.guix-profile/share/info:/run/curre= nt-system/profile/share/info:/home/lechner/.guix-profile/share/info:/run/cu= rrent-system/profile/share/info LANG=3Den_US.utf8 LIBRARY_PATH=3D/gnu/store/rcr081g34np6byhzj82m075487lnr6af-profile/lib:/hom= e/lechner/.guix-home/profile/lib:/home/lechner/.guix-profile/lib LINUX_MODULE_DIRECTORY=3D/run/booted-system/kernel/lib/modules LOGNAME=3Dlechner LV2_PATH=3D/home/lechner/.guix-home/profile/lib/lv2 MANPATH=3D/home/lechner/.guix-home/profile/share/man:/run/current-system/pr= ofile/share/man:/home/lechner/.guix-profile/share/man:/run/current-system/p= rofile/share/man MOTD_SHOWN=3Dpam NAUTILUS_EXTENSION_PATH=3D/run/current-system/profile/lib/nautilus/site-ext= ensions NM_VPN_PLUGIN_DIR=3D/gnu/store/s4j534jy2y6y4b5xff5adgwijxcrgjdl-network-man= ager-vpn-plugins/lib/NetworkManager/VPN OLDPWD=3D/home/lechner PASSWORD_STORE_SYSTEM_EXTENSION_DIR=3D/home/lechner/.guix-home/profile/lib/= password-store/extensions PATH=3D/gnu/store/rcr081g34np6byhzj82m075487lnr6af-profile/bin:/gnu/store/r= cr081g34np6byhzj82m075487lnr6af-profile/sbin:/home/lechner/.guix-home/profi= le/bin:/home/lechner/.guix-home/profile/sbin:/run/setuid-programs:/home/lec= hner/.config/guix/current/bin:/home/lechner/.guix-profile/bin:/home/lechner= /.guix-profile/sbin:/run/current-system/profile/bin:/run/current-system/pro= file/sbin PERL5LIB=3D/home/lechner/.guix-home/profile/lib/perl5/site_perl:/home/lechn= er/.guix-profile/lib/perl5/site_perl PKG_CONFIG_PATH=3D/gnu/store/rcr081g34np6byhzj82m075487lnr6af-profile/lib/p= kgconfig:/home/lechner/.guix-home/profile/lib/pkgconfig:/home/lechner/.guix= -home/profile/share/pkgconfig:/home/lechner/.guix-profile/lib/pkgconfig:/ho= me/lechner/.guix-profile/share/pkgconfig PULSE_CLIENTCONFIG=3D/etc/pulse/client.conf PULSE_CONFIG=3D/etc/pulse/daemon.conf PWD=3D/lcl/lechner/guile-pam/git QMAKEPATH=3D/home/lechner/.guix-home/profile/lib/qt5:/home/lechner/.guix-pr= ofile/lib/qt5 QT_PLUGIN_PATH=3D/home/lechner/.guix-home/profile/lib/qt5/plugins:/home/lec= hner/.guix-profile/lib/qt5/plugins SHELL=3D/gnu/store/d99ykvj3axzzidygsmdmzxah4lvxd6hw-bash-5.1.8/bin/bash SHLVL=3D4 SSL_CERT_DIR=3D/run/current-system/profile/etc/ssl/certs SSL_CERT_FILE=3D/etc/ssl/certs/ca-certificates.crt TERM=3Dalacritty TERMINFO_DIRS=3D/home/lechner/.guix-home/profile/share/terminfo:/home/lechn= er/.guix-profile/share/terminfo TZDIR=3D/gnu/store/7pjzwj9d4fnyzp9x7k8cc4hazypyrk0p-tzdata-2022a/share/zone= info USER=3Dlechner WINDOWID=3D41943042 WINDOWPATH=3D2 XDG_CACHE_HOME=3D/home/lechner/.cache XDG_CONFIG_DIRS=3D/home/lechner/.guix-home/profile/etc/xdg:/home/lechner/.g= uix-profile/etc/xdg:/home/lechner/.guix-profile/etc/xdg:/run/current-system= /profile/etc/xdg XDG_CONFIG_HOME=3D/home/lechner/.config XDG_DATA_DIRS=3D/home/lechner/.guix-home/profile/share:/home/lechner/.guix-= profile/share:/run/current-system/profile/share:/home/lechner/.guix-profile= /share:/run/current-system/profile/share XDG_DATA_HOME=3D/home/lechner/.local/share XDG_LOG_HOME=3D/home/lechner/.local/var/log XDG_RUNTIME_DIR=3D/run/user/1000 XDG_SEAT=3Dseat0 XDG_SESSION_CLASS=3Duser XDG_SESSION_ID=3Dc3 XDG_SESSION_TYPE=3Dtty XDG_STATE_HOME=3D/home/lechner/.local/var/lib XDG_VTNR=3D2 XTERM_LOCALE=3Den_US.utf8 XTERM_SHELL=3D/gnu/store/d99ykvj3axzzidygsmdmzxah4lvxd6hw-bash-5.1.8/bin/ba= sh XTERM_VERSION=3DXTerm(370) * * * Non-working output of 'env': ACLOCAL_PATH=3D/home/lechner/.guix-home/profile/share/aclocal:/home/lechner= /.guix-profile/share/aclocal ALACRITTY_LOG=3D/tmp/Alacritty-18373.log BASH_LOADABLES_PATH=3D/home/lechner/.guix-home/profile/lib/bash:/home/lechn= er/.guix-profile/lib/bash:/run/current-system/profile/lib/bash C_INCLUDE_PATH=3D/home/lechner/.guix-home/profile/include:/home/lechner/.gu= ix-profile/include COLORTERM=3Dtruecolor CPLUS_INCLUDE_PATH=3D/home/lechner/.guix-home/profile/include/c++:/home/lec= hner/.guix-home/profile/include:/home/lechner/.guix-profile/include/c++:/ho= me/lechner/.guix-profile/include DBUS_FATAL_WARNINGS=3D0 DICPATH=3D/home/lechner/.guix-profile/share/hunspell:/run/current-system/pr= ofile/share/hunspell DISPLAY=3D:0.0 EMACSLOADPATH=3D/home/lechner/.guix-home/profile/share/emacs/site-lisp:/hom= e/lechner/.guix-profile/share/emacs/site-lisp:/run/current-system/profile/s= hare/emacs/site-lisp GDK_PIXBUF_MODULE_FILE=3D/home/lechner/.guix-home/profile/lib/gdk-pixbuf-2.= 0/2.10.0/loaders.cache GHC_PACKAGE_PATH=3D/home/lechner/.guix-home/profile/lib/ghc-8.10.7/package.= conf.d GIO_EXTRA_MODULES=3D/home/lechner/.guix-home/profile/lib/gio/modules:/run/c= urrent-system/profile/lib/gio/modules GIT_EXEC_PATH=3D/home/lechner/.guix-home/profile/libexec/git-core GIT_SSL_CAINFO=3D/etc/ssl/certs/ca-certificates.crt GST_PLUGIN_PATH=3D/home/lechner/.guix-profile/lib/gstreamer-1.0 GST_PLUGIN_SYSTEM_PATH=3D/home/lechner/.guix-home/profile/lib/gstreamer-1.0= :/run/current-system/profile/lib/gstreamer-1.0 GTK_DATA_PREFIX=3D/run/current-system/profile GUILE_LOAD_COMPILED_PATH=3D/home/lechner/.guix-home/profile/lib/guile/3.0/s= ite-ccache:/home/lechner/.guix-home/profile/share/guile/site/3.0:/home/lech= ner/.guix-profile/lib/guile/3.0/site-ccache:/home/lechner/.guix-profile/sha= re/guile/site/3.0:/run/current-system/profile/lib/guile/3.0/site-ccache:/ru= n/current-system/profile/share/guile/site/3.0 GUILE_LOAD_PATH=3D/home/lechner/.guix-home/profile/share/guile/site/3.0:/ho= me/lechner/.guix-profile/share/guile/site/3.0:/run/current-system/profile/s= hare/guile/site/3.0 GUIX_ENVIRONMENT=3D/gnu/store/xcr6x9rkzdmah3sgdgd5sbzp9sbnzwnd-profile GUIX_GTK3_PATH=3D/home/lechner/.guix-home/profile/lib/gtk-3.0:/home/lechner= /.guix-profile/lib/gtk-3.0:/run/current-system/profile/lib/gtk-3.0 GUIX_GTK4_PATH=3D/run/current-system/profile/lib/gtk-4.0 GUIX_LOCPATH=3D/run/current-system/locale:/gnu/store/mw3py6smb1pk8yx298hd9i= vz9lzbksqi-glibc-utf8-locales-2.33/lib/locale GUIX_PYTHONPATH=3D/home/lechner/.guix-home/profile/lib/python3.9/site-packa= ges HOME=3D/home/lechner HUSHLOGIN=3DFALSE INFOPATH=3D/home/lechner/.guix-home/profile/share/info:/home/lechner/.confi= g/guix/current/share/info:/home/lechner/.guix-profile/share/info:/run/curre= nt-system/profile/share/info:/home/lechner/.guix-profile/share/info:/run/cu= rrent-system/profile/share/info LANG=3Den_US.utf8 LIBRARY_PATH=3D/home/lechner/.guix-home/profile/lib:/home/lechner/.guix-pro= file/lib LINUX_MODULE_DIRECTORY=3D/run/booted-system/kernel/lib/modules LOGNAME=3Dlechner LV2_PATH=3D/home/lechner/.guix-home/profile/lib/lv2 MANPATH=3D/home/lechner/.guix-home/profile/share/man:/run/current-system/pr= ofile/share/man:/home/lechner/.guix-profile/share/man:/run/current-system/p= rofile/share/man MOTD_SHOWN=3Dpam NAUTILUS_EXTENSION_PATH=3D/run/current-system/profile/lib/nautilus/site-ext= ensions NM_VPN_PLUGIN_DIR=3D/gnu/store/s4j534jy2y6y4b5xff5adgwijxcrgjdl-network-man= ager-vpn-plugins/lib/NetworkManager/VPN OLDPWD=3D/home/lechner PASSWORD_STORE_SYSTEM_EXTENSION_DIR=3D/home/lechner/.guix-home/profile/lib/= password-store/extensions PATH=3D/home/lechner/.guix-home/profile/bin:/home/lechner/.guix-home/profil= e/sbin:/run/setuid-programs:/home/lechner/.config/guix/current/bin:/home/le= chner/.guix-profile/bin:/home/lechner/.guix-profile/sbin:/run/current-syste= m/profile/bin:/run/current-system/profile/sbin PERL5LIB=3D/home/lechner/.guix-home/profile/lib/perl5/site_perl:/home/lechn= er/.guix-profile/lib/perl5/site_perl PKG_CONFIG_PATH=3D/home/lechner/.guix-home/profile/lib/pkgconfig:/home/lech= ner/.guix-home/profile/share/pkgconfig:/home/lechner/.guix-profile/lib/pkgc= onfig:/home/lechner/.guix-profile/share/pkgconfig PULSE_CLIENTCONFIG=3D/etc/pulse/client.conf PULSE_CONFIG=3D/etc/pulse/daemon.conf PWD=3D/lcl/lechner/guile-pam/git QMAKEPATH=3D/home/lechner/.guix-home/profile/lib/qt5:/home/lechner/.guix-pr= ofile/lib/qt5 QT_PLUGIN_PATH=3D/home/lechner/.guix-home/profile/lib/qt5/plugins:/home/lec= hner/.guix-profile/lib/qt5/plugins _=3D/run/current-system/profile/bin/env SHELL=3D/gnu/store/d99ykvj3axzzidygsmdmzxah4lvxd6hw-bash-5.1.8/bin/bash SHLVL=3D4 SSL_CERT_DIR=3D/run/current-system/profile/etc/ssl/certs SSL_CERT_FILE=3D/etc/ssl/certs/ca-certificates.crt TERM=3Dalacritty TERMINFO_DIRS=3D/home/lechner/.guix-home/profile/share/terminfo:/home/lechn= er/.guix-profile/share/terminfo TZDIR=3D/gnu/store/7pjzwj9d4fnyzp9x7k8cc4hazypyrk0p-tzdata-2022a/share/zone= info USER=3Dlechner WINDOWID=3D41943042 WINDOWPATH=3D2 XDG_CACHE_HOME=3D/home/lechner/.cache XDG_CONFIG_DIRS=3D/home/lechner/.guix-home/profile/etc/xdg:/home/lechner/.g= uix-profile/etc/xdg:/home/lechner/.guix-profile/etc/xdg:/run/current-system= /profile/etc/xdg XDG_CONFIG_HOME=3D/home/lechner/.config XDG_DATA_DIRS=3D/home/lechner/.guix-home/profile/share:/home/lechner/.guix-= profile/share:/run/current-system/profile/share:/home/lechner/.guix-profile= /share:/run/current-system/profile/share XDG_DATA_HOME=3D/home/lechner/.local/share XDG_LOG_HOME=3D/home/lechner/.local/var/log XDG_RUNTIME_DIR=3D/run/user/1000 XDG_SEAT=3Dseat0 XDG_SESSION_CLASS=3Duser XDG_SESSION_ID=3Dc3 XDG_SESSION_TYPE=3Dtty XDG_STATE_HOME=3D/home/lechner/.local/var/lib XDG_VTNR=3D2 XTERM_LOCALE=3Den_US.utf8 XTERM_SHELL=3D/gnu/store/d99ykvj3axzzidygsmdmzxah4lvxd6hw-bash-5.1.8/bin/ba= sh XTERM_VERSION=3DXTerm(370) From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 02 09:06:15 2022 Received: (at 58908) by debbugs.gnu.org; 2 Nov 2022 13:06:15 +0000 Received: from localhost ([127.0.0.1]:45160 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oqDRf-0003u6-Jb for submit@debbugs.gnu.org; Wed, 02 Nov 2022 09:06:15 -0400 Received: from mail-wr1-f53.google.com ([209.85.221.53]:34749) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oqDRc-0003t4-FO for 58908@debbugs.gnu.org; Wed, 02 Nov 2022 09:06:13 -0400 Received: by mail-wr1-f53.google.com with SMTP id k8so24472930wrh.1 for <58908@debbugs.gnu.org>; Wed, 02 Nov 2022 06:06:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=pOYoovOnyD4Xzz2Rbk1rtnDrMbevOW/o/ySq/O5iPPo=; b=RCAa1i1BHe4P8oEepDDrp5k19DDbfzhsy1mmazfoQLyjhLAbMy7io/Nv0uOEPYhWwc eaS9A/aJ7aBJ1/nOToZgV+GWeS4ILKdHKuSkrfhMAfCXrUBWDnWeswTEdYob2au3Fe+u pWtJApz4Tr1LF3ZHRNig0B+sGn/zl6CF1RFd/PH+E9Ihpo8widHLMnal4QYSpA+Sf+zo 7y9aBvNKkn60dey3nKsyoM7ootofkMPhU84a3H9Rvbtju3/7LsjpkcZYkLSbnkLNF0Ev dzc6vFFPDaO5jqJH47PfnMpMs8DWT9P5yvktJTkDokpG5G3veMIrGpXwIKqMQkb6PcPM 8mGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=pOYoovOnyD4Xzz2Rbk1rtnDrMbevOW/o/ySq/O5iPPo=; b=5YFMng2NDCMcMRMus4mwqkbA/eD6GwWOelSfFRpT9tGv6E4q5IbjsdOOvsWe8CLnDl kF1xoIyhU0fAT0FsvWLV2bcA2K7PBpV+jczGGf7jleNpAyL60uJtrrE1LQuXNhHDO6LC 292/+eGAK+pR0cge5/TQaH4/WrTArDgjQO6vUWznyPq/UJAW4o0uL8TTVbivvJAXBkdd 0qCenvQBaBddoiPgc5r7Vdikf3qEcqqPZ14gi4uR0JFBjod4o9mo8hm2jpZLHbELy+dw Po3kRdmhn0l3r2bUo1q7m8nPto1abmdtlpV3lXiOALnzKd9QManNxNGL7dBEn29hSjnO PmJw== X-Gm-Message-State: ACrzQf1j2+kYJ/deBeJNYnmXAUgimd39V1PyouIPaMBdcBNfcFkEzKvf WWx6YIcAI4YmJ4VZ9Xdf7HG+3zD0vBc= X-Google-Smtp-Source: AMsMyM4jN6nGL8FoRb4Ngv+CWUolYUuVwZP4fmOIDbumFGq5uxfrLVOxsQJyP77YP5081gHicxwzgQ== X-Received: by 2002:a5d:6d02:0:b0:236:ed2d:b3eb with SMTP id e2-20020a5d6d02000000b00236ed2db3ebmr2863636wrq.456.1667394366742; Wed, 02 Nov 2022 06:06:06 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id bp7-20020a5d5a87000000b00236545edc91sm13067490wrb.76.2022.11.02.06.06.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Nov 2022 06:06:06 -0700 (PDT) From: zimoun To: Felix Lechner , 58908@debbugs.gnu.org Subject: Re: bug#58908: Position of '--check' makes or breaks 'guix shell' In-Reply-To: References: Date: Wed, 02 Nov 2022 14:05:22 +0100 Message-ID: <87zgd9ecbx.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 58908 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, On dim., 30 oct. 2022 at 14:57, Felix Lechner via Bug reports for GNU Guix = 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=3Dguix.scm > > $ which autopoint > > which: no autopoint in > (/home/lechner/.guix-home/profile/bin:/home/lechner/.guix-home/profile/sb= in:/run/setuid-programs:/home/lechner/.config/guix/current/bin:/home/lechne= r/.guix-profile/bin:/home/lechner/.guix-profile/sbin:/run/current-system/pr= ofile/bin:/run/current-system/profile/sbin) > > while with > > guix shell --development --file=3Dguix.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 =C2=ABbehaviour=C2=BB argument as =E2=80=99-D=E2=80=99 and =C2= =ABaction=C2=BB argument as =E2=80=99--check=E2=80=99, it seems missing a plan to always process using = the same order. Unrelated to =E2=80=9Cguix shell=E2=80=9D, it had been discussed fo= r =E2=80=9Cguix package=E2=80=9D, see [2]. 1: 2: Cheers, simon