gnu: node-minimist: Ignore development dependencies.

* gnu/packages/node-xyz.scm (node-minimist)[arguments]<phases>: Explicitly
patch out development dependencies. Re-enable configure phase.
This commit is contained in:
Jelle Licht 2023-02-08 22:05:21 +01:00
parent 06be5228f0
commit 4c26ea1257
No known key found for this signature in database
GPG key ID: DA4597F947B41025

View file

@ -313,10 +313,9 @@ (define-public node-minimist
(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