Skip to content

Commit

Permalink
Merge #174038: makeBinaryWrapper: fix codesign on aarch64-darwin
Browse files Browse the repository at this point in the history
...into staging-next
  • Loading branch information
vcunat committed May 23, 2022
2 parents 232db92 + 1cc6f08 commit 063c560
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{ stdenv
, lib
, darwin
, makeSetupHook
, dieHook
, writeShellScript
Expand All @@ -12,7 +11,7 @@
makeSetupHook {
deps = [ dieHook ]
# https://github.com/NixOS/nixpkgs/issues/148189
++ lib.optional (stdenv.isDarwin && stdenv.isAarch64) darwin.cctools;
++ lib.optional (stdenv.isDarwin && stdenv.isAarch64) cc;

substitutions = {
cc = "${cc}/bin/cc ${lib.escapeShellArgs (map (s: "-fsanitize=${s}") sanitizers)}";
Expand Down

0 comments on commit 063c560

Please sign in to comment.