We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c4491b commit d857ef7Copy full SHA for d857ef7
compiler/ghc/default.nix
@@ -70,7 +70,12 @@ let self =
70
# do not use ld.gold 2.3 with musl due to a ld.gold bug.
71
# See: <https://sourceware.org/bugzilla/show_bug.cgi?id=22266>.
72
# Note that this bug was resolved in 2017.
73
- (stdenv.targetPlatform.isLinux && !stdenv.targetPlatform.isAndroid)
+ ( stdenv.targetPlatform.isLinux
74
+ # don't use gold on android.
75
+ && !stdenv.targetPlatform.isAndroid
76
+ # don't use gold with GHC's NCG with musl. Still seems to be
77
+ # affected by 22266.
78
+ && !(!useLLVM && stdenv.targetPlatform.isMusl))
79
80
, ghc-version ? src-spec.version
81
, ghc-version-date ? null
0 commit comments