haskell.compiler.ghcHEAD: drop malformed/redundant hadrian setting

`*.*.rts.*.opts` is actually copied from the migration GHC blog post,
but does not, actually, parse: The format is
`<stage>.<package>.<program>.<filetype>.<setting>`, so it would need to
be `*.rts.ghc.opts`. This is already achieved by the broader rule on the
next line.
This commit is contained in:
sternenseemann 2023-02-22 13:56:03 +01:00
parent 23dc76fd22
commit 97d55ec923

View file

@ -182,7 +182,6 @@ let
# be needed for TemplateHaskell. This solution was described in
# https://www.tweag.io/blog/2020-09-30-bazel-static-haskell
lib.optionals enableRelocatedStaticLibs [
"*.*.rts.*.opts += -fPIC -fexternal-dynamic-refs"
"*.*.ghc.*.opts += -fPIC -fexternal-dynamic-refs"
]
++ lib.optionals targetPlatform.useAndroidPrebuilt [