From 279dcdb018f2faec46066bd2cc0bd2f0cba2ad0d Mon Sep 17 00:00:00 2001 From: Jelle Licht Date: Wed, 8 Feb 2023 22:05:21 +0100 Subject: gnu: node-minimist: Ignore development dependencies. * gnu/packages/node-xyz.scm (node-minimist)[arguments]: Explicitly patch out development dependencies. Re-enable configure phase. --- gnu/packages/node-xyz.scm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'gnu/packages') 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 -- cgit 1.4.1