summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorJelle Licht <jlicht@fsfe.org>2023-02-08 22:05:23 +0100
committerJelle Licht <jlicht@fsfe.org>2023-05-06 13:53:21 +0200
commit0140e014aac7b415516378f0c2728422226ee51c (patch)
treeaecbd5004f9943328e7dfbaa21ea5a0f5691e0db /gnu/packages
parent25a117bcd87eb6c8cd0f6ac1764f03f755f7b8d3 (diff)
downloadguix-0140e014aac7b415516378f0c2728422226ee51c.tar.gz
gnu: node-protocol-buffers-schema: Ignore development dependencies.
* gnu/packages/node-xyz.scm (node-protocol-buffers-schema)[arguments]<phases>:
Explicitly patch out development dependencies. Re-enable configure phase.
Diffstat (limited to 'gnu/packages')
-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 680be0ad3f..1b581cf3a7 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -405,10 +405,9 @@ code.")
     (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 '("standard" "tape")))))))
     (home-page "https://github.com/mafintosh/protocol-buffers-schema")
     (synopsis "Protocol buffers schema parser written in Javascript")
     (description "This package provides a protocol buffers schema parser