nixpkgs/pkgs/development/web/nodejs/v9.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 = "9.0.0";
sha256 = "19az7mxcb3d1aj0f7gvhriyyghn1rwn0425924pa84d6j1mbsljv";
patches = lib.optionals stdenv.isDarwin [ ./no-xcode-v7.patch ];
}