3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/web/nodejs/v6.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
303 B
Nix

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