guix_mirror_bot pushed a commit to branch javascript-team
in repository guix.

commit f7a735d270229fcee9d09b4ab1be8a6e5ffd3919
Author: Nicolas Graves <[email protected]>
AuthorDate: Mon Sep 15 22:30:01 2025 +0200

    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 <[email protected]>
---
 guix/build/node-build-system.scm | 8 ++++++--
 1 file 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))

Reply via email to