1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 13:10:33 +02:00

gnu: node-bootstrap: Rename phase that fixes node-gyp references

* gnu/packages/node.scm (node-bootstrap)[arguments]<#:phases>: Rename
install-npmrc phase to fix-node-gyp-reference.
(libnode)[arguments]<#:phases>: Delete 'fix-node-gyp-reference phase instead
of 'install-npmrc phase.

Change-Id: I062753b79e42e5a8a311b019855168bb96a566b2
This commit is contained in:
Jelle Licht
2026-03-13 16:53:21 +01:00
parent 6199e6609c
commit 649fc872ba

View File

@@ -274,7 +274,7 @@
(lambda (file stat)
(executable-file? file))
#:stat lstat)))))
(add-after 'install 'install-npmrc
(add-after 'install 'fix-node-gyp-reference
;; Note: programs like node-gyp only receive these values if
;; they are started via `npm` or `npx`.
;; See: https://github.com/nodejs/node-gyp#npm-configuration
@@ -1001,6 +1001,6 @@ fi"
`(cons* "--shared" "--without-npm" ,flags))
((#:phases phases '%standard-phases)
`(modify-phases ,phases
(delete 'install-npmrc)
(delete 'fix-node-gyp-reference)
(delete 'patch-nested-shebangs)
(delete 'ignore-number-of-hardlinks)))))))