Created
September 6, 2020 18:15
-
-
Save pbogdan/42484b5c06064a5c4e0cf0081517a00f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/pkgs/build-support/cc-wrapper/default.nix b/pkgs/build-support/cc-wrapper/default.nix | |
index bfb15f2f783..fff57dd7c48 100644 | |
--- a/pkgs/build-support/cc-wrapper/default.nix | |
+++ b/pkgs/build-support/cc-wrapper/default.nix | |
@@ -453,7 +453,7 @@ stdenv.mkDerivation { | |
substituteAll ${./add-flags.sh} $out/nix-support/add-flags.sh | |
substituteAll ${./add-hardening.sh} $out/nix-support/add-hardening.sh | |
- substituteAll ${../wrapper-common/utils.bash} $out/nix-support/utils.bash | |
+ substituteAll ${if stdenv.isDarwin then ../wrapper-common/utils.bash.darwin else ../wrapper-common/utils.bash} $out/nix-support/utils.bash | |
'' | |
## |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment