mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 00:08:32 +01:00
ccbcf15c8e
This removes some duplicated and dead code across the different versions of nodejs.
11 lines
302 B
Nix
11 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 ];
|
|
}
|