mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 06:03:40 +00:00
ccbcf15c8e
This removes some duplicated and dead code across the different versions of nodejs.
12 lines
302 B
Nix
12 lines
302 B
Nix
{ stdenv, callPackage, lib, enableNpm ? true }:
|
|
|
|
let
|
|
buildNodejs = callPackage ./nodejs.nix {};
|
|
in
|
|
buildNodejs {
|
|
inherit enableNpm;
|
|
version = "4.8.5";
|
|
sha256 = "0lqdnnihmc2wpl1v1shj60i49wka2354b00a86k0xbjg5gyfx2m4";
|
|
patches = lib.optionals stdenv.isDarwin [ ./no-xcode.patch ];
|
|
}
|