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 = "12.20.0";
sha256 = "12s2vjrlhgap2r12s7rqf0r2wzh9q2r5dkh3ak9fhrgmk9fgvqv1";
patches = stdenv.lib.optional stdenv.isDarwin ./bypass-xcodebuild.diff;
}