Merge pull request #188253 from marsam/update-nodejs
nodejs-18_x: 18.7.0 -> 18.8.0
This commit is contained in:
commit
e902ed593a
1 changed files with 3 additions and 11 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ callPackage, python3, fetchpatch, enableNpm ? true }:
|
{ callPackage, python3, enableNpm ? true }:
|
||||||
|
|
||||||
let
|
let
|
||||||
buildNodejs = callPackage ./nodejs.nix {
|
buildNodejs = callPackage ./nodejs.nix {
|
||||||
|
@ -7,17 +7,9 @@ let
|
||||||
in
|
in
|
||||||
buildNodejs {
|
buildNodejs {
|
||||||
inherit enableNpm;
|
inherit enableNpm;
|
||||||
version = "18.7.0";
|
version = "18.8.0";
|
||||||
sha256 = "sha256-iDSjPJLf5rqJA+ZxXK6qJd/0ZX5wPFTNBuwRNJPiw8I=";
|
sha256 = "sha256-K12YJdBe3mYU8WaKjZfXdP6S68gQiOxf31gYTc48hrk=";
|
||||||
patches = [
|
patches = [
|
||||||
./disable-darwin-v8-system-instrumentation.patch
|
./disable-darwin-v8-system-instrumentation.patch
|
||||||
# Fix npm silently fail without a HOME directory https://github.com/npm/cli/issues/4996
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/npm/cli/commit/9905d0e24c162c3f6cc006fa86b4c9d0205a4c6f.patch";
|
|
||||||
sha256 = "sha256-RlabXWtjzTZ5OgrGf4pFkolonvTDIPlzPY1QcYDd28E=";
|
|
||||||
includes = [ "deps/npm/lib/npm.js" "deps/npm/lib/utils/log-file.js" ];
|
|
||||||
stripLen = 1;
|
|
||||||
extraPrefix = "deps/npm/";
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue