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, python3, enableNpm ? true }:
{ callPackage, openssl, python3, stdenv, enableNpm ? true }:
let
buildNodejs = callPackage ./nodejs.nix {
@@ -10,4 +10,5 @@ in
inherit enableNpm;
version = "14.15.1";
sha256 = "1g61vqsgq3jsipw2fckj68i4a4pi1iz1kbw7mlw8jmzp8rl46q81";
patches = stdenv.lib.optional stdenv.isDarwin ./bypass-xcodebuild.diff;
}