mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
15 lines
380 B
Nix
15 lines
380 B
Nix
{ callPackage, openssl, icu, python2, lib, stdenv, enableNpm ? true }:
|
|
|
|
let
|
|
buildNodejs = callPackage ./nodejs.nix {
|
|
inherit openssl icu;
|
|
python = python2;
|
|
};
|
|
in
|
|
buildNodejs {
|
|
inherit enableNpm;
|
|
version = "12.20.2";
|
|
sha256 = "0g3dxip7b5j7fzkw4b82ln93fphxn1zpdizbj1ikjv3hy00dc6ln";
|
|
patches = lib.optional stdenv.isDarwin ./bypass-xcodebuild.diff;
|
|
}
|