guix_mirror_bot pushed a commit to branch javascript-team in repository guix.
commit 6019e4296e9bb277d69c2455fef34bca7ca5976c Author: Nicolas Graves <[email protected]> AuthorDate: Sat Jul 11 23:52:34 2026 +0200 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 <[email protected]> --- gnu/packages/node.scm | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm index a0aeb4f521..439855498f 100644 --- a/gnu/packages/node.scm +++ b/gnu/packages/node.scm @@ -429,7 +429,7 @@ devices.") (define-public node-ms-bootstrap (package - (name "node-ms") + (name "node-ms-bootstrap") (version "2.1.2") (source (origin @@ -439,22 +439,21 @@ devices.") (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 - "1pjxzbi4j8pinlsc7yxvfrh0b47kb2dc4lfc2rjq4wx5bdwl33fj")))) - (build-system node-build-system) + (base32 "1pjxzbi4j8pinlsc7yxvfrh0b47kb2dc4lfc2rjq4wx5bdwl33fj")))) + (build-system gnu-build-system) (arguments - `(#:node ,node-bootstrap - #:tests? #f - #:phases - (modify-phases %standard-phases - (add-after 'patch-dependencies 'delete-dependencies - (lambda args - (modify-json (delete-dependencies - '("eslint" - "expect.js" - "husky" - "lint-staged" - "mocha")))))))) + (list + #:tests? #f + #:phases + #~(modify-phases #$bootstrap-node-phases + (add-before 'configure 'patch-dependencies + (lambda _ + #$(delete-dependencies* (list "eslint" + "expect.js" + "husky" + "lint-staged" + "mocha"))))))) + (native-inputs (list node-bootstrap)) (home-page "https://github.com/zeit/ms#readme") (properties '((hidden? . #t))) (synopsis "Tiny millisecond conversion utility")
