summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2026-07-11 23:52:34 +0200
committerMaxim Cournoyer <maxim@guixotic.coop>2026-08-27 10:59:18 +0900
commit3d7ecdb6b6e5f97439b16b882fef2f18e7de0f4b (patch)
treec5573352303e56c126012af167c4c6ad4993d6c7 /gnu
parentc18cbe411663345034aa23f1d5fb367d2fc65102 (diff)
gnu: node-ms-bootstrap: Avoid node-build-system.
* gnu/packages/node.scm (node-ms-bootstrap) [name]: Add -bootstrap suffix. [build-system]: Switch to gnu-build-system + bootstrap-node-phases. [arguments]: Improve style. {node}: Drop it. {phases}: Migrate accordingly. [native-inputs]: Add node-bootstrap. Change-Id: I1aa223a7c151f05ff67755cce3f01b76192ed750 Signed-off-by: Jelle Licht <jlicht@fsfe.org>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/node.scm31
1 files changed, 15 insertions, 16 deletions
diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm
index a0aeb4f521b..439855498f8 100644
--- a/gnu/packages/node.scm
+++ b/gnu/packages/node.scm
@@ -429,7 +429,7 @@ devices.")
429 429
430(define-public node-ms-bootstrap 430(define-public node-ms-bootstrap
431 (package 431 (package
432 (name "node-ms") 432 (name "node-ms-bootstrap")
433 (version "2.1.2") 433 (version "2.1.2")
434 (source 434 (source
435 (origin 435 (origin
@@ -439,22 +439,21 @@ devices.")
439 (commit version))) 439 (commit version)))
440 (file-name (git-file-name name version)) 440 (file-name (git-file-name name version))
441 (sha256 441 (sha256
442 (base32 442 (base32 "1pjxzbi4j8pinlsc7yxvfrh0b47kb2dc4lfc2rjq4wx5bdwl33fj"))))
443 "1pjxzbi4j8pinlsc7yxvfrh0b47kb2dc4lfc2rjq4wx5bdwl33fj")))) 443 (build-system gnu-build-system)
444 (build-system node-build-system)
445 (arguments 444 (arguments
446 `(#:node ,node-bootstrap 445 (list
447 #:tests? #f 446 #:tests? #f
448 #:phases 447 #:phases
449 (modify-phases %standard-phases 448 #~(modify-phases #$bootstrap-node-phases
450 (add-after 'patch-dependencies 'delete-dependencies 449 (add-before 'configure 'patch-dependencies
451 (lambda args 450 (lambda _
452 (modify-json (delete-dependencies 451 #$(delete-dependencies* (list "eslint"
453 '("eslint" 452 "expect.js"
454 "expect.js" 453 "husky"
455 "husky" 454 "lint-staged"
456 "lint-staged" 455 "mocha")))))))
457 "mocha")))))))) 456 (native-inputs (list node-bootstrap))
458 (home-page "https://github.com/zeit/ms#readme") 457 (home-page "https://github.com/zeit/ms#readme")
459 (properties '((hidden? . #t))) 458 (properties '((hidden? . #t)))
460 (synopsis "Tiny millisecond conversion utility") 459 (synopsis "Tiny millisecond conversion utility")