From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id oD9oF0nMM2D0DgAA0tVLHw (envelope-from ) for ; Mon, 22 Feb 2021 15:22:49 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id qHxFE0nMM2BfHgAAbx9fmQ (envelope-from ) for ; Mon, 22 Feb 2021 15:22:49 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DE73B1E932 for ; Mon, 22 Feb 2021 16:22:48 +0100 (CET) Received: from localhost ([::1]:40782 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lED2u-00038x-0a for larch@yhetil.org; Mon, 22 Feb 2021 10:22:48 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58642) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lECyd-0007aF-Bj for guix-devel@gnu.org; Mon, 22 Feb 2021 10:18:25 -0500 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21101) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lECyb-0003NX-0T for guix-devel@gnu.org; Mon, 22 Feb 2021 10:18:23 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1614007095; cv=none; d=zohomail.com; s=zohoarc; b=nmyLwh+AEEI2oPlT0f9cbJwAcMq+rXoS5aoreVBO4uMlnt66F/6E280u7/YBZ7l8iLgQ2ZtOnuzjYbPqMExZ5vM5CETUPkb4cKLqlXViLFjAW4acirx79aHaZizk4+fog3DfT0X1ginR5GwAC8Y5PCe3qZc3L99kQjfdJvEXpFA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1614007095; h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To; bh=T33ejl34sMvPOXNAWYRHHzHXPgNh4BWK55cWXatE+ws=; b=cN+PBojhfJRnFgAgYqV4vHyeMgyYHk3ElGcP2rW5lBFqjckMQi2V3KgQca1nj4fuG2NBjoez2dVeJ9AN0ZP8cugymcU2Ibahc1dowCRvbewWSB6Y39LMIdRBn0yVl44gWxrtsrmL0vpt02iwwZZ3Pvx2QXYgtUjD75i84KBpf5U= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1614007095; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=T33ejl34sMvPOXNAWYRHHzHXPgNh4BWK55cWXatE+ws=; b=POkf9MleTJYvk7/aSqdE4yltFCcL5SAkDx/CRPlYk9Bt5b13P/d4umR7RZFW9HH2 M+TkU/i27d9iFMk2Y11JEImrI2jVG9Ym88uh7OslGZkFSA94W4M+Cb4cADByHnpiFQj X8p5lqcc3Sp997LiOE0+vdkZzvSGhN1QqjbmAu5w= Received: from localhost (p54ad4dc0.dip0.t-ipconnect.de [84.173.77.192]) by mx.zohomail.com with SMTPS id 1614007091571781.749927113965; Mon, 22 Feb 2021 07:18:11 -0800 (PST) User-agent: mu4e 1.4.14; emacs 27.1 From: Ricardo Wurmus To: guix-devel@gnu.org Subject: =?utf-8?Q?=E2=80=9Cguix?= pack =?utf-8?Q?-RR=E2=80=9D?= and ignored environment variables X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Mon, 22 Feb 2021 16:18:08 +0100 Message-ID: <87tuq4ku6n.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.51; envelope-from=rekado@elephly.net; helo=sender4-of-o51.zoho.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.57 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=POkf9Mle; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: DE73B1E932 X-Spam-Score: -3.57 X-Migadu-Scanner: scn1.migadu.com X-TUID: Q2T2hNLcKiqw Hi Guix, today I wanted to offer a pack of Guile Studio, which provides a wrapper script =E2=80=9Cguile-studio=E2=80=9D that sets EMACSLOADPATH and then spaw= ns Emacs: --8<---------------cut here---------------start------------->8--- #!/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/sh EMACSLOADPATH=3D/gnu/store/7z33lhy9m8xqgym9w3hj30y1w290c8hn-emacs-27.1/shar= e/emacs/site-lisp:/gnu/store/22qrgczgs13r81vh0assi44g65352jsb-emacs-f-0.20.= 0/share/emacs/site-lisp:/gnu/store/02wl4g5r2jcw3xa50wlvxrzgnbvfl4j9-emacs-m= emoize-1.1/share/emacs/site-lisp:/gnu/store/5ypb61cywf1jcxb2p85a85a2m19yvbg= d-emacs-all-the-icons-4.0.1/share/emacs/site-lisp:/gnu/store/hf1gv2fn3ksnms= wmqs2iqpi6762l3vw8-emacs-all-the-icons-dired-1.0-1.980b774/share/emacs/site= -lisp:/gnu/store/253a5n1ss5j7q1bn21nxlm468csmnnys-emacs-dired-sidebar-0.1.0= -2.da77919/share/emacs/site-lisp:/gnu/store/kfmh5kngrh2911nlwp5wsrjmpwfj7kj= 4-emacs-doom-modeline-3.0.0/share/emacs/site-lisp:/gnu/store/khrdrw2b06jnf6= 32l886y0ayk2vb62il-emacs-modus-themes-1.1.1/share/emacs/site-lisp:/gnu/stor= e/p7igyy5yfkc1fvnvx19h2g49f6qaajs5-emacs-geiser-0.12/share/emacs/site-lisp:= /gnu/store/zf82m64bp66v3sh0rr4p6c26z996dmix-emacs-company-0.9.13/share/emac= s/site-lisp:/gnu/store/syrgm56fbk0722rnr59wpircv9n73r2n-emacs-ivy-0.13.1/sh= are/emacs/site-lisp:/gnu/store/425l8kf2rpk9c418vi8i42mw365b4a18-emacs-flych= eck-31-2.9bcf6b6/share/emacs/site-lisp:/gnu/store/5z9jjvcfj8qka4ly8iysyrgvy= zksj6ig-emacs-flycheck-guile-0.2/share/emacs/site-lisp:/gnu/store/43bpv64d0= a6x8bmqcdp4fsawhmspd5mk-emacs-paren-face-1.0.7/share/emacs/site-lisp:/gnu/s= tore/gpwzl1nsis1s3q48sl8qn0hm4g41qgyz-emacs-dash-2.18.0/share/emacs/site-li= sp:/gnu/store/gcw8lz0xvansb4dpfiq9m3kzqx0qc12n-emacs-s-1.12.0/share/emacs/s= ite-lisp:/gnu/store/0iwc19qcn2ylrnpsqrfmg8jsij0q6yz7-emacs-dired-hacks-0.0.= 1-3.d1a2bda/share/emacs/site-lisp:/gnu/store/1a6aqvylh3qym2n3npp9gbvcfpzygl= gg-emacs-shrink-path-0.3.1/share/emacs/site-lisp:/gnu/store/60qfm0v7v3h9bl3= x5q6iw1kb1phy0w2z-emacs-hydra-0.15.0/share/emacs/site-lisp:/gnu/store/jvdh3= zi4fc28ipk2g1na1i6vfa8xismi-emacs-eimp-1.4.0-1.2e7536f/share/emacs/site-lis= p: exec /gnu/store/7z33lhy9m8xqgym9w3hj30y1w290c8hn-emacs-27.1/bin/emacs -mm -= -no-site-file --no-site-lisp --no-x-resources --no-init-file --load /gnu/st= ore/z2wix8r2gqs4lwwnq744qpj54051y8cy-guile-studio-0.1.0-1.93622e7/share/gui= le-studio.el --8<---------------cut here---------------end--------------->8--- Unfortunately, Emacs fails to find ivy when I launch it from a relocatable pack in a container (to ensure that the contents of the pack are sufficient). Here=E2=80=99s what I did: $ guix pack -RR -S /bin=3Dbin glibc-locales guile-studio guile $ cp the-pack.tar.gz /tmp/test $ cd /tmp/test $ xhost +local: $ guix environment --container -E ^DISPLAY$ --share=3D/tmp/.X11-unix --= ad-hoc tar gzip bash coreutils [env] $ tar xf the-pack.tar.gz [env] $ ./bin/guile-studio I look at the value of =E2=80=9Cload-path=E2=80=9D in Emacs and I don=E2=80= =99t see any of the items that are mentioned on the EMACSLOADPATH environment variable, only things provided by Emacs itself. =E2=80=9C(getenv "EMACSLOADPATH")=E2=80= =99 returns nil. Are shell wrappers not working when using the binary wrapper produced by =E2=80=98guix pack -RR=E2=80=99? --=20 Ricardo