nodejs: apply patch that allows packages with native dependencies to compile again on darwin by bypassing xcodebuild

This commit is contained in:
Sander van der Burg
2020-12-04 00:41:21 +01:00
parent 0272df3208
commit bbfc913c6a
4 changed files with 34 additions and 3 deletions
+2 -1
View File
@@ -1,4 +1,4 @@
{ callPackage, openssl, icu, python2, enableNpm ? true }:
{ callPackage, openssl, icu, python2, stdenv, enableNpm ? true }:
let
buildNodejs = callPackage ./nodejs.nix {
@@ -10,4 +10,5 @@ in
inherit enableNpm;
version = "10.23.0";
sha256 = "07vlqr0493a569i0npwgkxk5wa4vc7j68jsivchg08y2slwn0dgx";
patches = stdenv.lib.optional stdenv.isDarwin ./bypass-xcodebuild.diff;
}