nixpkgs/pkgs/development/web/nodejs/v8.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
305 B
Nix

{ stdenv, callPackage, lib, enableNpm ? true }:
let
buildNodejs = callPackage ./nodejs.nix {};
in
buildNodejs {
inherit enableNpm;
version = "8.9.0";
sha256 = "128ir6rkdz1xj55hbflw0sh7snrrvjwgvxmgnka7cyhjkvw5i0mf";
patches = lib.optionals stdenv.isDarwin [ ./no-xcode-v7.patch ];
}