guix-commits
[Top][All Lists]
Advanced

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

12/42: gnu: node-llparse-bootstrap: Use 'delete-dependencies'.


From: guix-commits
Subject: 12/42: gnu: node-llparse-bootstrap: Use 'delete-dependencies'.
Date: Sat, 8 Jan 2022 20:09:21 -0500 (EST)

lilyp pushed a commit to branch master
in repository guix.

commit 96a5170fdea969842d2eab6c286dad7faed3f5e5
Author: Philip McGrath <philip@philipmcgrath.com>
AuthorDate: Sat Jan 8 03:42:00 2022 -0500

    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>
---
 gnu/packages/node.scm | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

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")))



reply via email to

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