From unknown Fri Jun 13 11:29:13 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#78335] [PATCH] gnu: direnv: Update to 2.36.0. Resent-From: Zheng Junjie Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 09 May 2025 16:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 78335 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 78335@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.174680664017142 (code B ref -1); Fri, 09 May 2025 16:04:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 May 2025 16:04:00 +0000 Received: from localhost ([127.0.0.1]:38718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uDQCc-0004SP-Vn for submit@debbugs.gnu.org; Fri, 09 May 2025 12:03:59 -0400 Received: from lists.gnu.org ([2001:470:142::17]:38992) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uDQCY-0004Rm-4n for submit@debbugs.gnu.org; Fri, 09 May 2025 12:03:56 -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 1uDQCQ-0004k4-B5 for guix-patches@gnu.org; Fri, 09 May 2025 12:03:46 -0400 Received: from mail.z572.online ([88.99.160.180]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uDQCO-0004KQ-DL for guix-patches@gnu.org; Fri, 09 May 2025 12:03:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=z572.online; s=me; t=1746807038; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=C6ZMXuWjlCbv1KsVztuYzNLJi93VZFMq+HuvNKRtUKk=; b=Evk/QPJ1JC9bNT/FYtMFPRaLTkoJXqBQ/fAdnh+Fn4oc7lzvX2lj4hzs+vKx6DsoFfnjsv ag/HYVLtnoPgPlIvZE+QjwaQvbh81OiyrxJ2ccQurDioLDhox7b1wNRML1qg/LeAro8nVR aL9EUxI0Qg/eOAcuuR6KYtCEZ+KrwTM= Received: from m.tailaa68d.ts.net ( [61.174.159.83]) by mail.z572.online (OpenSMTPD) with ESMTPSA id da41c757 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Fri, 9 May 2025 16:10:37 +0000 (UTC) From: Zheng Junjie Date: Sat, 10 May 2025 00:03:33 +0800 Message-ID: <8520b2135d3f44697717d7bfcc53afdb0db9f53b.1746806613.git.z572@z572.online> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=88.99.160.180; envelope-from=z572@z572.online; helo=mail.z572.online X-Spam_score_int: 4 X-Spam_score: 0.4 X-Spam_bar: / X-Spam_report: (0.4 / 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, FROM_SUSPICIOUS_NTLD=0.5, FROM_SUSPICIOUS_NTLD_FP=0.001, PDS_OTHER_BAD_TLD=1.999, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 3.5 (+++) 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: * gnu/packages/shellutils.scm (direnv): Update to 2.36.0. [arguments]: Use G-expressions. Change-Id: Icc3a96a8a5d44fa48b2ef3af68714776dd497102 --- gnu/packages/shellutils.scm | 55 ++++++++++++++++++ 1 file changed, 27 insertions(+), 28 deletions(-) Content analysis details: (3.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: z572.online (online)] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.0 FROM_SUSPICIOUS_NTLD_FP From abused NTLD 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: 2.5 (++) 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: * gnu/packages/shellutils.scm (direnv): Update to 2.36.0. [arguments]: Use G-expressions. Change-Id: Icc3a96a8a5d44fa48b2ef3af68714776dd497102 --- gnu/packages/shellutils.scm | 55 ++++++++++++++++++ 1 file changed, 27 insertions(+), 28 deletions(-) Content analysis details: (2.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: z572.online (online)] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org] 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager * gnu/packages/shellutils.scm (direnv): Update to 2.36.0. [arguments]: Use G-expressions. Change-Id: Icc3a96a8a5d44fa48b2ef3af68714776dd497102 --- gnu/packages/shellutils.scm | 55 ++++++++++++++++++------------------- 1 file changed, 27 insertions(+), 28 deletions(-) diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm index ea6dcafbc94..6c1bd0dc17d 100644 --- a/gnu/packages/shellutils.scm +++ b/gnu/packages/shellutils.scm @@ -742,7 +742,7 @@ (define-public tran (define-public direnv (package (name "direnv") - (version "2.35.0") + (version "2.36.0") (source (origin (method git-fetch) (uri (git-reference @@ -751,35 +751,34 @@ (define-public direnv (file-name (git-file-name name version)) (sha256 (base32 - "0l9pziv5nxlq6dxbsqrfl6z4ibq171wfx6wmjs392cdn5w2n908b")))) + "0p6n9zi3p9frj3ndnpdc1cz51hq0nkyjc9b1rqg7967l8vhdr8f6")))) (build-system go-build-system) (arguments - '(#:import-path "github.com/direnv/direnv" - #:phases - (modify-phases %standard-phases - (add-after 'install 'install-manpages - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (man (string-append out "/share/man/man1"))) - (mkdir-p man) - (with-directory-excursion "src/github.com/direnv/direnv" - (install-file "man/direnv.1" man) - (install-file "man/direnv-stdlib.1" man) - (install-file "man/direnv.toml.1" man))))) - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (setenv "HOME" "/tmp") - (with-directory-excursion "src/github.com/direnv/direnv" - ;; The following file needs to be writable so it can be - ;; modified by the testsuite. - (make-file-writable "test/scenarios/base/.envrc") - ;; We need to manually run test because make test - ;; tries to use go modules - (invoke "go" "test" "./...") - ;; Clean up from the tests, especially so that the extra - ;; direnv executable that's generated is removed. - (invoke "make" "clean")))))))) + (list #:import-path "github.com/direnv/direnv" + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'install-manpages + (lambda _ + (let* ((man (string-append #$output "/share/man/man1"))) + (mkdir-p man) + (with-directory-excursion "src/github.com/direnv/direnv" + (install-file "man/direnv.1" man) + (install-file "man/direnv-stdlib.1" man) + (install-file "man/direnv.toml.1" man))))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (setenv "HOME" "/tmp") + (with-directory-excursion "src/github.com/direnv/direnv" + ;; The following file needs to be writable so it can be + ;; modified by the testsuite. + (make-file-writable "test/scenarios/base/.envrc") + ;; We need to manually run test because make test + ;; tries to use go modules + (invoke "go" "test" "./...") + ;; Clean up from the tests, especially so that the extra + ;; direnv executable that's generated is removed. + (invoke "make" "clean")))))))) (native-inputs (list go-github-com-burntsushi-toml go-github-com-mattn-go-isatty base-commit: f348d2be2e019fcda44af8ab81073e2f04697a38 -- 2.49.0 From unknown Fri Jun 13 11:29:13 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Zheng Junjie Subject: bug#78335: closed (Re: [bug#78335] [PATCH] gnu: direnv: Update to 2.36.0.) Message-ID: References: <87msbj1oiu.fsf@cbaines.net> <8520b2135d3f44697717d7bfcc53afdb0db9f53b.1746806613.git.z572@z572.online> X-Gnu-PR-Message: they-closed 78335 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 78335@debbugs.gnu.org Date: Sun, 11 May 2025 09:33:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1746955983-19979-1" This is a multi-part message in MIME format... ------------=_1746955983-19979-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #78335: [PATCH] gnu: direnv: Update to 2.36.0. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 78335@debbugs.gnu.org. --=20 78335: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D78335 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1746955983-19979-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 78335-done) by debbugs.gnu.org; 11 May 2025 09:32:13 +0000 Received: from localhost ([127.0.0.1]:58191 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uE32a-00058X-P5 for submit@debbugs.gnu.org; Sun, 11 May 2025 05:32:13 -0400 Received: from mira.cbaines.net ([212.71.252.8]:44224) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uE32Z-00058H-03 for 78335-done@debbugs.gnu.org; Sun, 11 May 2025 05:32:11 -0400 Received: from localhost (unknown [IPv6:2a02:6b67:e390:8b00::1ce5]) by mira.cbaines.net (Postfix) with ESMTPSA id 9BC7B27BC49; Sun, 11 May 2025 10:32:10 +0100 (BST) Received: from fang (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 534c1119; Sun, 11 May 2025 09:32:10 +0000 (UTC) From: Christopher Baines To: Zheng Junjie Subject: Re: [bug#78335] [PATCH] gnu: direnv: Update to 2.36.0. In-Reply-To: <8520b2135d3f44697717d7bfcc53afdb0db9f53b.1746806613.git.z572@z572.online> (Zheng Junjie's message of "Sat, 10 May 2025 00:03:33 +0800") References: <8520b2135d3f44697717d7bfcc53afdb0db9f53b.1746806613.git.z572@z572.online> User-Agent: mu4e 1.12.9; emacs 29.4 Date: Sun, 11 May 2025 10:32:09 +0100 Message-ID: <87msbj1oiu.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 2.0 (++) 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: Zheng Junjie writes: > * gnu/packages/shellutils.scm (direnv): Update to 2.36.0. > [arguments]: Use G-expressions. > > Change-Id: Icc3a96a8a5d44fa48b2ef3af68714776dd497102 > --- > gnu/packages/shellutils.scm | 55 ++++++++ [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_VALIDITY_SAFE_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [212.71.252.8 listed in sa-accredit.habeas.com] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: z572.online (online)] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [212.71.252.8 listed in bl.score.senderscore.com] X-Debbugs-Envelope-To: 78335-done Cc: 78335-done@debbugs.gnu.org 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 (+) --=-=-= Content-Type: text/plain Zheng Junjie writes: > * gnu/packages/shellutils.scm (direnv): Update to 2.36.0. > [arguments]: Use G-expressions. > > Change-Id: Icc3a96a8a5d44fa48b2ef3af68714776dd497102 > --- > gnu/packages/shellutils.scm | 55 ++++++++++++++++++------------------- > 1 file changed, 27 insertions(+), 28 deletions(-) Looks good to me, I've pushed this to master as 9f227e39151684503a3bd2e2cc6820aca04169b8. Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmggbplfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XcHig/+O2W2j8PFnp4qP6+mBP2uIF8bTf+WfIrw WeL2sH6zIAPPYqGJsPQ/9jPRsRelCzXMOZDSLWXF5RnhpJDXiJD0J778hRXN7ADk NpQPI+Lv732VY+6UsY85xM5S82aqIccaaeWBCePOWIm4Pnl/Pcg/I+troAiL5QTA q1TVQ7pUaXjAAnMLqA3EcQF72mmAMo/zLtVydf12yztMy4r4YQUWOKW2L6MlSLKx JmuSrN6Oh/zzTpoYMAPLVaLzv3fmojH7fxwqtFCoI29GxoaXoI+w8W+yBO0pgZqq efEpIlymD8/PVgAWsxIRxsCg9eU54aRthHu0dgL9vcZ1nLu7CdGMZ3UQZzTebxJ8 drhLHcDCySnCAqrz/29HKS0sWUrsNjMwz9ROcIiOcKCZFIwvGQoycpxxgbntEpfa Au3zcsVfpxFR8NVSCaeIHPiDi4Zqb6PmNEd8IxocUCfNyCOPbZ5WAqR8Ajo5YuWu pmPWRmvJ8CmQgRa32TiyKD3xsK866EJyfKe+F2xs4TzmjUV89HMD4575/p/dddaz HWqFtUNAOe5ebVFvy7LLZaDlC6K1949dMIwcnNcG+FjHimGKUE7t5s0oeOx307Qp GPurvNluN3O0Eish/kfgKIpsd7BRZAscrfFyvQTYm1JfCUp1gFN5bFKZgOq/Dn+m /nrDCuOno0E= =9Lcm -----END PGP SIGNATURE----- --=-=-=-- ------------=_1746955983-19979-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 9 May 2025 16:04:00 +0000 Received: from localhost ([127.0.0.1]:38718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uDQCc-0004SP-Vn for submit@debbugs.gnu.org; Fri, 09 May 2025 12:03:59 -0400 Received: from lists.gnu.org ([2001:470:142::17]:38992) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uDQCY-0004Rm-4n for submit@debbugs.gnu.org; Fri, 09 May 2025 12:03:56 -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 1uDQCQ-0004k4-B5 for guix-patches@gnu.org; Fri, 09 May 2025 12:03:46 -0400 Received: from mail.z572.online ([88.99.160.180]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uDQCO-0004KQ-DL for guix-patches@gnu.org; Fri, 09 May 2025 12:03:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=z572.online; s=me; t=1746807038; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=C6ZMXuWjlCbv1KsVztuYzNLJi93VZFMq+HuvNKRtUKk=; b=Evk/QPJ1JC9bNT/FYtMFPRaLTkoJXqBQ/fAdnh+Fn4oc7lzvX2lj4hzs+vKx6DsoFfnjsv ag/HYVLtnoPgPlIvZE+QjwaQvbh81OiyrxJ2ccQurDioLDhox7b1wNRML1qg/LeAro8nVR aL9EUxI0Qg/eOAcuuR6KYtCEZ+KrwTM= Received: from m.tailaa68d.ts.net ( [61.174.159.83]) by mail.z572.online (OpenSMTPD) with ESMTPSA id da41c757 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Fri, 9 May 2025 16:10:37 +0000 (UTC) From: Zheng Junjie To: guix-patches@gnu.org Subject: [PATCH] gnu: direnv: Update to 2.36.0. Date: Sat, 10 May 2025 00:03:33 +0800 Message-ID: <8520b2135d3f44697717d7bfcc53afdb0db9f53b.1746806613.git.z572@z572.online> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=88.99.160.180; envelope-from=z572@z572.online; helo=mail.z572.online X-Spam_score_int: 4 X-Spam_score: 0.4 X-Spam_bar: / X-Spam_report: (0.4 / 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, FROM_SUSPICIOUS_NTLD=0.5, FROM_SUSPICIOUS_NTLD_FP=0.001, PDS_OTHER_BAD_TLD=1.999, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 3.5 (+++) 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: * gnu/packages/shellutils.scm (direnv): Update to 2.36.0. [arguments]: Use G-expressions. Change-Id: Icc3a96a8a5d44fa48b2ef3af68714776dd497102 --- gnu/packages/shellutils.scm | 55 ++++++++++++++++++ 1 file changed, 27 insertions(+), 28 deletions(-) Content analysis details: (3.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: z572.online (online)] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.0 FROM_SUSPICIOUS_NTLD_FP From abused NTLD 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: 2.5 (++) 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: * gnu/packages/shellutils.scm (direnv): Update to 2.36.0. [arguments]: Use G-expressions. Change-Id: Icc3a96a8a5d44fa48b2ef3af68714776dd497102 --- gnu/packages/shellutils.scm | 55 ++++++++++++++++++ 1 file changed, 27 insertions(+), 28 deletions(-) Content analysis details: (2.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: z572.online (online)] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org] 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager * gnu/packages/shellutils.scm (direnv): Update to 2.36.0. [arguments]: Use G-expressions. Change-Id: Icc3a96a8a5d44fa48b2ef3af68714776dd497102 --- gnu/packages/shellutils.scm | 55 ++++++++++++++++++------------------- 1 file changed, 27 insertions(+), 28 deletions(-) diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm index ea6dcafbc94..6c1bd0dc17d 100644 --- a/gnu/packages/shellutils.scm +++ b/gnu/packages/shellutils.scm @@ -742,7 +742,7 @@ (define-public tran (define-public direnv (package (name "direnv") - (version "2.35.0") + (version "2.36.0") (source (origin (method git-fetch) (uri (git-reference @@ -751,35 +751,34 @@ (define-public direnv (file-name (git-file-name name version)) (sha256 (base32 - "0l9pziv5nxlq6dxbsqrfl6z4ibq171wfx6wmjs392cdn5w2n908b")))) + "0p6n9zi3p9frj3ndnpdc1cz51hq0nkyjc9b1rqg7967l8vhdr8f6")))) (build-system go-build-system) (arguments - '(#:import-path "github.com/direnv/direnv" - #:phases - (modify-phases %standard-phases - (add-after 'install 'install-manpages - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (man (string-append out "/share/man/man1"))) - (mkdir-p man) - (with-directory-excursion "src/github.com/direnv/direnv" - (install-file "man/direnv.1" man) - (install-file "man/direnv-stdlib.1" man) - (install-file "man/direnv.toml.1" man))))) - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (setenv "HOME" "/tmp") - (with-directory-excursion "src/github.com/direnv/direnv" - ;; The following file needs to be writable so it can be - ;; modified by the testsuite. - (make-file-writable "test/scenarios/base/.envrc") - ;; We need to manually run test because make test - ;; tries to use go modules - (invoke "go" "test" "./...") - ;; Clean up from the tests, especially so that the extra - ;; direnv executable that's generated is removed. - (invoke "make" "clean")))))))) + (list #:import-path "github.com/direnv/direnv" + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'install-manpages + (lambda _ + (let* ((man (string-append #$output "/share/man/man1"))) + (mkdir-p man) + (with-directory-excursion "src/github.com/direnv/direnv" + (install-file "man/direnv.1" man) + (install-file "man/direnv-stdlib.1" man) + (install-file "man/direnv.toml.1" man))))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (setenv "HOME" "/tmp") + (with-directory-excursion "src/github.com/direnv/direnv" + ;; The following file needs to be writable so it can be + ;; modified by the testsuite. + (make-file-writable "test/scenarios/base/.envrc") + ;; We need to manually run test because make test + ;; tries to use go modules + (invoke "go" "test" "./...") + ;; Clean up from the tests, especially so that the extra + ;; direnv executable that's generated is removed. + (invoke "make" "clean")))))))) (native-inputs (list go-github-com-burntsushi-toml go-github-com-mattn-go-isatty base-commit: f348d2be2e019fcda44af8ab81073e2f04697a38 -- 2.49.0 ------------=_1746955983-19979-1--