mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 01:33:10 +00:00
97d05d24b6
Node.js 16.15.1 updated its vendored npm, which breaks sandboxed builds
See: https://github.com/NixOS/nixpkgs/issues/176127
This reverts commit e6188b6576
.
17 lines
407 B
Nix
17 lines
407 B
Nix
{ callPackage, openssl, python3, enableNpm ? true }:
|
|
|
|
let
|
|
buildNodejs = callPackage ./nodejs.nix {
|
|
inherit openssl;
|
|
python = python3;
|
|
};
|
|
in
|
|
buildNodejs {
|
|
inherit enableNpm;
|
|
version = "16.15.0"; # Do not upgrade until #176127 is solved
|
|
sha256 = "sha256-oPgS78Q/eDIeygiVeWCkj15r+XAE1QWMjdOwPGRupPc=";
|
|
patches = [
|
|
./disable-darwin-v8-system-instrumentation.patch
|
|
];
|
|
}
|