[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#59188] [PATCH v5 01/17] build-system: node: Use `--install-links' w
From: |
jlicht |
Subject: |
[bug#59188] [PATCH v5 01/17] build-system: node: Use `--install-links' with `npm install'. |
Date: |
Wed, 15 Mar 2023 01:55:16 +0100 |
From: Jelle Licht <jlicht@fsfe.org>
Later versions of npm need to explicitly install a copy of local dependencies,
instead of only a symlink.
* guix/build/node-build-system.scm (configure): Add `--install-links' to npm
install invocation.
(install): Ditto.
---
(no changes since v1)
guix/build/node-build-system.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/guix/build/node-build-system.scm b/guix/build/node-build-system.scm
index bee3792e93..93f7efbb2b 100644
--- a/guix/build/node-build-system.scm
+++ b/guix/build/node-build-system.scm
@@ -223,7 +223,7 @@ (define* (delete-lockfiles #:key inputs #:allow-other-keys)
(define* (configure #:key outputs inputs #:allow-other-keys)
(let ((npm (string-append (assoc-ref inputs "node") "/bin/npm")))
- (invoke npm "--offline" "--ignore-scripts" "install")
+ (invoke npm "--offline" "--ignore-scripts" "--install-links" "install")
#t))
(define* (build #:key inputs #:allow-other-keys)
@@ -262,6 +262,7 @@ (define* (install #:key outputs inputs #:allow-other-keys)
"--offline"
"--loglevel" "info"
"--production"
+ "--install-links"
"install" "../package.tgz")
#t))
--
2.39.2
- [bug#59188] [PATCH v5 00/17] Updating node-lts to 18.X, jlicht, 2023/03/14
- [bug#59188] [PATCH v5 01/17] build-system: node: Use `--install-links' with `npm install'.,
jlicht <=
- [bug#59188] [PATCH v5 06/17] gnu: node-crx3: Ignore development dependencies., jlicht, 2023/03/14
- [bug#59188] [PATCH v5 04/17] gnu: node-acorn: Fix broken transpilation., jlicht, 2023/03/14
- [bug#59188] [PATCH v5 08/17] gnu: node-pbf: Ignore development dependencies., jlicht, 2023/03/14
- [bug#59188] [PATCH v5 05/17] gnu: node-buffer-crc32: Ignore development dependencies., jlicht, 2023/03/14
- [bug#59188] [PATCH v5 14/17] gnu: libuv-for-node: Update to 1.44.2., jlicht, 2023/03/14
- [bug#59188] [PATCH v5 02/17] gnu: node-acorn: Disable tests., jlicht, 2023/03/14
- [bug#59188] [PATCH v5 03/17] gnu: node-acorn: Remove lifecycle script., jlicht, 2023/03/14
- [bug#59188] [PATCH v5 07/17] gnu: node-minimist: Ignore development dependencies., jlicht, 2023/03/14
- [bug#59188] [PATCH v5 09/17] gnu: node-protocol-buffers-schema: Ignore development dependencies., jlicht, 2023/03/14
- [bug#59188] [PATCH v5 10/17] gnu: node-resolve-protobuf-schema: Ignore development dependencies., jlicht, 2023/03/14