[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#51838] [PATCH v3 13/43] gnu: node-llparse-bootstrap: Use #:absent-d
From: |
Philip McGrath |
Subject: |
[bug#51838] [PATCH v3 13/43] gnu: node-llparse-bootstrap: Use #:absent-dependencies. |
Date: |
Wed, 8 Dec 2021 15:28:08 -0500 |
gnu/packages/node.scm (node-llparse-bootstrap)[arguments]: Add
`#:absent-dependencies`. Stop deleting the `'configure` phase.
Add a new phase `#:delete-package-lock` to remove the
problematic "package-lock.json".
---
gnu/packages/node.scm | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm
index 298b9376a8..6d48816c77 100644
--- a/gnu/packages/node.scm
+++ b/gnu/packages/node.scm
@@ -609,9 +609,24 @@ (define-public node-llparse-bootstrap
(arguments
`(#:node ,node-bootstrap
#:tests? #f
+ #:absent-dependencies
+ `("@types/debug"
+ "@types/mocha"
+ "@types/node"
+ "esm"
+ "llparse-test-fixture"
+ "mocha"
+ "ts-node"
+ "tslint"
+ "typescript")
#:phases
(modify-phases %standard-phases
- (delete 'configure)
+ (add-before 'configure 'remove-package-lock
+ ;; Having package-lock.json seems to cause npm
+ ;; to look for things on the internet in the configure phase,
+ ;; even if we have them properly installed.
+ (lambda args
+ (delete-file-recursively "package-lock.json")))
(replace 'build
(lambda* (#:key inputs #:allow-other-keys)
(let ((esbuild (string-append (assoc-ref inputs "esbuild")
--
2.32.0
- [bug#51838] [PATCH v3 06/43] guix: node-build-system: Add #:absent-dependencies argument., (continued)
- [bug#51838] [PATCH v3 02/43] gnu: node: Update to 10.24.1 for bootstrapping., Philip McGrath, 2021/12/08
- [bug#51838] [PATCH v3 08/43] gnu: node-ms-bootstrap: Use #:absent-dependencies., Philip McGrath, 2021/12/08
- [bug#51838] [PATCH v3 09/43] gnu: node-binary-search-bootstrap: Use #:absent-dependencies., Philip McGrath, 2021/12/08
- [bug#51838] [PATCH v3 07/43] gnu: node-semver-bootstrap: Use #:absent-dependencies., Philip McGrath, 2021/12/08
- [bug#51838] [PATCH v3 10/43] gnu: node-debug-bootstrap: Use #:absent-dependencies., Philip McGrath, 2021/12/08
- [bug#51838] [PATCH v3 11/43] gnu: node-llparse-builder-bootstrap: Use #:absent-dependencies., Philip McGrath, 2021/12/08
- [bug#51838] [PATCH v3 12/43] gnu: node-llparse-frontend-bootstrap: Use #:absent-dependencies., Philip McGrath, 2021/12/08
- [bug#51838] [PATCH v3 14/43] gnu: node-semver: Use #:absent-dependencies., Philip McGrath, 2021/12/08
- [bug#51838] [PATCH v3 13/43] gnu: node-llparse-bootstrap: Use #:absent-dependencies.,
Philip McGrath <=
- [bug#51838] [PATCH v3 30/43] gnu: Add node-file-uri-to-path., Philip McGrath, 2021/12/08
- [bug#51838] [PATCH v3 30/43] gnu: Add node-file-uri-to-path., Pierre Langlois, 2021/12/12
- [bug#51838] [PATCH v3 30/43] gnu: Add node-file-uri-to-path., Philip McGrath, 2021/12/12
- [bug#51838] [PATCH v3 34/43] gnu: Add node-serialport-parser-delimiter., Philip McGrath, 2021/12/08
- [bug#51838] [PATCH v3 32/43] gnu: Add node-segfault-handler., Philip McGrath, 2021/12/08
- [bug#51838] [PATCH v3 32/43] gnu: Add node-segfault-handler., Pierre Langlois, 2021/12/12
- [bug#51838] [PATCH v3 32/43] gnu: Add node-segfault-handler., Philip McGrath, 2021/12/12
- [bug#51838] [PATCH v3 35/43] gnu: Add node-serialport-parser-readling., Philip McGrath, 2021/12/08
- [bug#51838] [PATCH v3 16/43] gnu: node-once: Use #:absent-dependencies., Philip McGrath, 2021/12/08
- [bug#51838] [PATCH v3 24/43] gnu: Add node-string-decoder., Philip McGrath, 2021/12/08