nixpkgs/pkgs/development/web/nodejs/v4.nix
Mathias Schreck ccbcf15c8e nodejs: refactor generic build function
This removes some duplicated and dead code across the different versions of
nodejs.
2017-11-02 10:58:45 +01:00

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