guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

11/16: gnu: node-yazl: Ignore development dependencies.


From: guix-commits
Subject: 11/16: gnu: node-yazl: Ignore development dependencies.
Date: Mon, 20 Feb 2023 11:03:05 -0500 (EST)

jlicht pushed a commit to branch node-18-updates
in repository guix.

commit 9be0f4a403d5a805c52ec614ff9c06a01f36c5e1
Author: Jelle Licht <jlicht@fsfe.org>
AuthorDate: Wed Feb 8 22:05:26 2023 +0100

    gnu: node-yazl: Ignore development dependencies.
    
    * gnu/packages/node-xyz.scm (node-yazl)[arguments]<phases>: Explicitly patch
    out development dependencies. Re-enable configure phase.
---
 gnu/packages/node-xyz.scm | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index d8939d1469..8740796a8c 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]