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:41:59 -0500
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2022-01-09 02:07:13 +0100
commit5e1f8bae07533b2a71f803e915db69f317d35201 (patch)
treeba37fac20186bc8b6db0c8d39e9a6226e0e8e064 /gnu/packages/node.scm
parent8d27d057bc8b0a8ace4da4b04385068566569478 (diff)
downloadguix-5e1f8bae07533b2a71f803e915db69f317d35201.tar.gz
gnu: node-llparse-frontend-bootstrap: Use 'delete-dependencies'.
gnu/packages/node.scm (node-llparse-frontend-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.scm10
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm
index cff2b39dd6..55bca7c006 100644
--- a/gnu/packages/node.scm
+++ b/gnu/packages/node.scm
@@ -567,7 +567,15 @@ 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"
+                                    "mocha"
+                                    "ts-node"
+                                    "tslint"
+                                    "typescript"))))
          (replace 'build
            (lambda* (#:key inputs #:allow-other-keys)
              (let ((esbuild (search-input-file inputs "/bin/esbuild")))