Loading
haskellPackages: Pass ghc-options in generic-builder when cross-compiling
The following sequence of operations loses ghc-options: Setup.hs configure --ghc-options Setup.hs build --with-ghc=... This is described in [1]. The fix is simple: Don't pass --with-ghc in the build phase. The values are taken from the configure step anyway. This seems to have been introduced all the way back in 64ec4dd8 about 8 years ago for unknown reasons. Resolves #286285 [1]: https://github.com/haskell/cabal/issues/10069