mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 11:40:45 +00:00
makeBinaryWrapper: remove cc dependency on aarch64-darwin
This commit is contained in:
parent
09f5e7d840
commit
ca73fb024a
|
@ -1,5 +1,4 @@
|
|||
{ stdenv
|
||||
, targetPackages
|
||||
{ targetPackages
|
||||
, lib
|
||||
, makeSetupHook
|
||||
, dieHook
|
||||
|
@ -11,9 +10,7 @@
|
|||
|
||||
makeSetupHook {
|
||||
name = "make-binary-wrapper-hook";
|
||||
propagatedBuildInputs = [ dieHook ]
|
||||
# https://github.com/NixOS/nixpkgs/issues/148189
|
||||
++ lib.optional (stdenv.isDarwin && stdenv.isAarch64) cc;
|
||||
propagatedBuildInputs = [ dieHook ];
|
||||
|
||||
substitutions = {
|
||||
cc = "${cc}/bin/${cc.targetPrefix}cc ${lib.escapeShellArgs (map (s: "-fsanitize=${s}") sanitizers)}";
|
||||
|
|
Loading…
Reference in a new issue