aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelle Licht <jlicht@fsfe.org>2023-02-08 22:05:26 +0100
committerJelle Licht <jlicht@fsfe.org>2023-05-06 13:53:22 +0200
commitcfa2432ae220ae25224f07dde55dd6cee071d9ec (patch)
tree41e66b81785163f4e4bb816d42317b00d6344cda
parent8890e9e998963323b2c76e3ca07ff2b78a9a606c (diff)
downloadguix-cfa2432ae220ae25224f07dde55dd6cee071d9ec.tar
guix-cfa2432ae220ae25224f07dde55dd6cee071d9ec.tar.gz
gnu: node-yazl: Ignore development dependencies.
* gnu/packages/node-xyz.scm (node-yazl)[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 628fe41d28..b85507f52f 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -1588,10 +1588,9 @@ default set of parsers and bindings.")))
(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 '("airtap" "bl" "istanbul" "yauzl")))))))
(inputs (list node-buffer-crc32))
(home-page "https://github.com/thejoshwolfe/yazl")
(synopsis "Yet another zip library for node")