aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelle Licht <jlicht@fsfe.org>2023-02-08 22:05:21 +0100
committerJelle Licht <jlicht@fsfe.org>2023-05-06 13:53:21 +0200
commit4c26ea1257886c4315b03374769842539aaf2adb (patch)
treebddd1ad8b9b28de8251efd6579cee4e81f74682e
parent06be5228f063dc931528b3f20ca227a1326ae51c (diff)
downloadguix-4c26ea1257886c4315b03374769842539aaf2adb.tar
guix-4c26ea1257886c4315b03374769842539aaf2adb.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.
-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 00d93d3185..847004501a 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