summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorJelle Licht <jlicht@fsfe.org>2023-02-08 22:05:21 +0100
committerJelle Licht <jlicht@fsfe.org>2023-02-20 16:58:38 +0100
commit279dcdb018f2faec46066bd2cc0bd2f0cba2ad0d (patch)
tree34a49633d1e1157ecca8ef02dbb07620234926df /gnu/packages
parentb255b0e0cba88af0b3312b2f702471e1691313d3 (diff)
downloadguix-279dcdb018f2faec46066bd2cc0bd2f0cba2ad0d.tar.gz
gnu: node-minimist: Ignore development dependencies.
* gnu/packages/node-xyz.scm (node-minimist)[arguments]<phases>: Explicitly
patch out development dependencies. Re-enable configure phase.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/node-xyz.scm5
1 files changed, 2 insertions, 3 deletions
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index 325dca84ce..a03b9b4f1c 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -313,10 +313,9 @@ random number generator.")
     (arguments
      '(#:tests? #f
        #:phases (modify-phases %standard-phases
-                  (replace 'configure
+                  (add-after 'patch-dependencies 'delete-dependencies
                     (lambda _
-                      (invoke "npm" "--offline" "--ignore-scripts" "install"
-                              "--production"))))))
+                      (delete-dependencies '("covert" "tap" "tape")))))))
     (home-page "https://github.com/substack/minimist")
     (synopsis "Parse CLI arguments in Javascript")
     (description "This package can scan for CLI flags and arguments in