mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
22 lines
659 B
Nix
22 lines
659 B
Nix
{ callPackage, fetchpatch, python3, enableNpm ? true }:
|
|
|
|
let
|
|
buildNodejs = callPackage ./nodejs.nix {
|
|
python = python3;
|
|
};
|
|
in
|
|
buildNodejs {
|
|
inherit enableNpm;
|
|
version = "17.4.0";
|
|
sha256 = "1ch1hc5qc13qbk7gmpw729wb7s9kmda6sjlhzdw53iq6fzq7336g";
|
|
patches = [
|
|
./disable-darwin-v8-system-instrumentation.patch
|
|
# Fixes node incorrectly building vendored OpenSSL when we want system OpenSSL.
|
|
# https://github.com/nodejs/node/pull/40965
|
|
(fetchpatch {
|
|
url = "https://github.com/nodejs/node/commit/65119a89586b94b0dd46b45f6d315c9d9f4c9261.patch";
|
|
sha256 = "sha256-dihKYEdK68sQIsnfTRambJ2oZr0htROVbNZlFzSAL+I=";
|
|
})
|
|
];
|
|
}
|