1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-19 03:48:57 +00:00
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 ];
}