Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-18.03 11 lines 325 B view raw
1{ stdenv, callPackage, lib, enableNpm ? true }: 2 3let 4 buildNodejs = callPackage ./nodejs.nix {}; 5in 6 buildNodejs { 7 inherit enableNpm; 8 version = "6.14.4"; 9 sha256 = "03zc6jhid6jyi871zlcrkjqffmrpxh01z2xfsl3xp2vzg2czqjws"; 10 patches = lib.optionals stdenv.isDarwin [ ./no-xcode.patch ./no-xcodebuild.patch ]; 11 }