nixpkgs/pkgs/development/web/nodejs/v16.nix
Mario Rodas 97d05d24b6 Revert "nodejs-16_x: 16.15.0 -> 16.15.1"
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.
2022-06-09 04:20:00 +00:00

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
];
}