summary refs log tree commit diff
diff options
context:
space:
mode:
authorJelle Licht <jlicht@fsfe.org>2023-02-08 22:05:24 +0100
committerJelle Licht <jlicht@fsfe.org>2023-02-20 16:58:46 +0100
commitcbb589f673a5ce4b2a8d4d4b640ee4e2bbf6824c (patch)
tree933ecad3aef4a77de038886ef2680d61498bf614
parentd8065021c0dc78940fb2a09a67b43170936f749f (diff)
downloadguix-cbb589f673a5ce4b2a8d4d4b640ee4e2bbf6824c.tar.gz
gnu: node-resolve-protobuf-schema: Ignore development dependencies.
* gnu/packages/node-xyz.scm (node-resolve-protobuf-schema)[arguments]<phases>:
Explicitly patch out development dependencies. Re-enable configure phase.
-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 e406b55b56..21b5390833 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -431,10 +431,9 @@ written in Javascript.")
     (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")))))))
     (inputs (list node-protocol-buffers-schema))
     (home-page "https://github.com/mafintosh/resolve-protobuf-schema")
     (synopsis "Resolve protobuf imports")