diff options
author | Nicolas Graves <ngraves@ngraves.fr> | 2025-09-15 22:30:01 +0200 |
---|---|---|
committer | Jelle Licht <jlicht@fsfe.org> | 2025-10-13 10:27:11 +0200 |
commit | f7a735d270229fcee9d09b4ab1be8a6e5ffd3919 (patch) | |
tree | c3c5a82cdc5558242de8c0e45189962bf9851d8e | |
parent | 60596a792f5a48ce70b9c5466b8a7703b4225680 (diff) |
build-system: node: Refresh phase 'configure.
* guix/build/node-build-system.scm (configure): Remove unused outputs
argument, add --no-outputs flag.
Change-Id: Icf0d5d23cf70abc9168038e79c995391fae48e6a
Signed-off-by: Jelle Licht <jlicht@fsfe.org>
-rw-r--r-- | guix/build/node-build-system.scm | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/guix/build/node-build-system.scm b/guix/build/node-build-system.scm index ab50571857..4003cbea41 100644 --- a/guix/build/node-build-system.scm +++ b/guix/build/node-build-system.scm @@ -256,9 +256,13 @@ only after the 'patch-dependencies' phase." (delete-file pth))) lockfiles)) -(define* (configure #:key outputs inputs #:allow-other-keys) +(define* (configure #:key inputs #:allow-other-keys) (let ((npm (string-append (assoc-ref inputs "node") "/bin/npm"))) - (invoke npm "--offline" "--ignore-scripts" "--install-links" "install"))) + (invoke npm "--offline" + "--ignore-scripts" + "--install-links" + "--no-audit" + "install"))) (define* (build #:key inputs #:allow-other-keys) (let* ((package-meta (call-with-input-file "package.json" json->scm)) |