guix_mirror_bot pushed a commit to branch wip-node-reproducibility in repository guix.
commit 3d900e928bdd81dc400e27ebce4231d4de6c21f8 Author: Ricardo Wurmus <rek...@elephly.net> AuthorDate: Thu Jul 13 10:30:14 2023 +0200 gnu: node-lts: Simplify snippet. * gnu/packages/node.scm (node-lts)[source]: Remove quasiquote, trailing #T, and IF with explicit booleans. --- gnu/packages/node.scm | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm index 7695614b3a..c0bb4f2342 100644 --- a/gnu/packages/node.scm +++ b/gnu/packages/node.scm @@ -7,7 +7,7 @@ ;;; Copyright © 2018 Tobias Geerinckx-Rice <m...@tobias.gr> ;;; Copyright © 2018-2022 Marius Bakke <mar...@gnu.org> ;;; Copyright © 2020, 2021 Pierre Langlois <pierre.langl...@gmx.com> -;;; Copyright © 2020 Ricardo Wurmus <rek...@elephly.net> +;;; Copyright © 2020, 2023 Ricardo Wurmus <rek...@elephly.net> ;;; Copyright © 2021 Simon Tournier <zimon.touto...@gmail.com> ;;; Copyright © 2021 Guillaume Le Vaillant <g...@posteo.net> ;;; Copyright © 2021, 2022 Philip McGrath <phi...@philipmcgrath.com> @@ -748,13 +748,12 @@ source files.") "0vcc132z7lkxnw5clmiz6sp6ccmw35pyb69hczphrig5frfmqkva")) (modules '((guix build utils))) (snippet - `(begin + '(begin ;; openssl.cnf is required for build. (for-each delete-file-recursively (find-files "deps/openssl" (lambda (file stat) - (if (string-contains file "nodejs-openssl.cnf") - #f #t)))) + (not (string-contains file "nodejs-openssl.cnf"))))) ;; Remove bundled software, where possible (for-each delete-file-recursively '("deps/cares" @@ -764,8 +763,7 @@ source files.") (substitute* "Makefile" ;; Remove references to bundled software. (("deps/uv/uv.gyp") "") - (("deps/zlib/zlib.gyp") "")) - #t)))) + (("deps/zlib/zlib.gyp") "")))))) (arguments (substitute-keyword-arguments (package-arguments node) ((#:configure-flags configure-flags)