We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d55ec23 commit c20f0c0Copy full SHA for c20f0c0
compiler/ghc/default.nix
@@ -362,14 +362,8 @@ let
362
# Sometimes we have to dispatch between the bintools wrapper and the unwrapped
363
# derivation for certain tools depending on the platform.
364
bintoolsFor = {
365
- # GHC needs install_name_tool on all darwin platforms. On aarch64-darwin it is
366
- # part of the bintools wrapper (due to codesigning requirements), but not on
367
- # x86_64-darwin.
368
- install_name_tool =
369
- if stdenv.targetPlatform.isAarch64
370
- then targetCC.bintools
371
- else targetCC.bintools.bintools;
372
- # Same goes for strip.
+ # GHC needs install_name_tool on all darwin platforms.
+ install_name_tool = targetCC.bintools.bintools;
373
strip =
374
# TODO(@sternenseemann): also use wrapper if linker == "bfd" or "gold"
375
if stdenv.targetPlatform.isAarch64
0 commit comments