guix-commits
[Top][All Lists]
Advanced

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

04/16: gnu: node-buffer-crc32: Ignore development dependencies.


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

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

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

    gnu: node-buffer-crc32: Ignore development dependencies.
    
    * gnu/packages/node-xyz.scm (node-acorn)[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 c9a853616e..d527e3240a 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -123,10 +123,9 @@ architecture supporting plugins.")
     (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 '("tap")))))))
     (home-page "https://github.com/brianloveswords/buffer-crc32";)
     (synopsis "CRC32 implementation in Javascript")
     (description



reply via email to

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