summary refs log tree commit diff
path: root/gnu/packages/node.scm
diff options
context:
space:
mode:
authorPhilip McGrath <philip@philipmcgrath.com>2022-01-08 03:42:00 -0500
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2022-01-09 02:07:13 +0100
commit96a5170fdea969842d2eab6c286dad7faed3f5e5 (patch)
tree7256ccdf7eae243d3ce268603a71cd9c7e83930c /gnu/packages/node.scm
parent5e1f8bae07533b2a71f803e915db69f317d35201 (diff)
downloadguix-96a5170fdea969842d2eab6c286dad7faed3f5e5.tar.gz
gnu: node-llparse-bootstrap: Use 'delete-dependencies'.
gnu/packages/node.scm (node-llparse-bootstrap)[arguments]: Use
'delete-dependencies'.  Stop deleting the 'configure' phase.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Diffstat (limited to 'gnu/packages/node.scm')
-rw-r--r--gnu/packages/node.scm12
1 files changed, 11 insertions, 1 deletions
diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm
index 55bca7c006..5ec54b52eb 100644
--- a/gnu/packages/node.scm
+++ b/gnu/packages/node.scm
@@ -628,7 +628,17 @@ Node.js and web browsers.")
        #:tests? #f
        #:phases
        (modify-phases %standard-phases
-         (delete 'configure)
+         (add-after 'patch-dependencies 'delete-dependencies
+           (lambda args
+             (delete-dependencies `("@types/debug"
+                                    "@types/mocha"
+                                    "@types/node"
+                                    "esm"
+                                    "llparse-test-fixture"
+                                    "mocha"
+                                    "ts-node"
+                                    "tslint"
+                                    "typescript"))))
          (replace 'build
            (lambda* (#:key inputs #:allow-other-keys)
              (let ((esbuild (search-input-file inputs "/bin/esbuild")))