nixpkgs/pkgs/development/haskell-modules
Wolfgang Walther a24f97bf27 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 64ec4dd87b
about 8 years ago for unknown reasons.

Resolves #286285

[1]: https://github.com/haskell/cabal/issues/10069
2024-06-09 01:34:01 +02:00
..
configuration-hackage2nix gitit: set maintainers via hackage2nix exclusively 2024-06-07 11:18:28 +02:00
lib haskell.lib.compose.justStaticExecutables: Forbid references to GHC 2024-05-27 21:08:16 +02:00
patches git-annex: fix installation location of .desktop files and icons 2024-04-22 02:17:36 +02:00
cabal2nix-unstable.nix haskellPackages.cabal2nix-unstable: 2024-04-21 -> 2024-05-20 2024-05-20 14:50:15 +02:00
configuration-arm.nix haskellPackages: Remove obsolete overrides for hls dependencies 2024-03-17 13:36:19 +01:00
configuration-common.nix cabal-install: Fix for justStaticExecutables 2024-06-06 11:34:41 +02:00
configuration-darwin.nix haskellPackages.cabal2nix-unstable: rem refs to GHC (aarch64-darwin) 2024-06-07 11:48:12 +02:00
configuration-ghc-8.6.x.nix haskell.packages.ghc865Binary.exceptions: fix eval 2024-05-22 22:20:49 +01:00
configuration-ghc-8.10.x.nix elmPackages.elmi-to-json: fix incorrect broken flag 2024-06-06 11:58:31 +02:00
configuration-ghc-9.0.x.nix haskell.packages.*.ghc-tags: unbreak 2024-06-04 14:51:22 +02:00
configuration-ghc-9.2.x.nix haskell.packages.ghc92.haskell-language-server: fix 2024-03-29 12:23:39 +01:00
configuration-ghc-9.4.x.nix haskellPackages: fix eval 2024-04-01 11:20:16 +02:00
configuration-ghc-9.6.x.nix haskell.packages.*.ghc-tags: unbreak 2024-06-04 14:51:22 +02:00
configuration-ghc-9.8.x.nix haskell.packages.ghc98.ghc-lib: downgrade to match ghc-lib-parser* 2024-06-04 12:53:24 +02:00
configuration-ghc-9.10.x.nix haskell.packages.*.{terminfo,xhtml}: allow builds on Hydra for cross 2023-12-20 10:50:28 +01:00
configuration-ghc-9.12.x.nix haskell.compiler.ghcHEAD: 9.9.20231121 -> 9.11.20240323 2024-03-23 15:45:14 +01:00
configuration-ghcjs.nix haskell.packages.ghcjs.exceptions: fix eval 2024-05-22 22:25:25 +01:00
configuration-nix.nix nvfetcher: prevent incorrect references on aarch64-darwin 2024-06-08 17:24:00 +02:00
configuration-tensorflow.nix treewide: noop: refer to src.name or similar in sourceRoot where appropriate, part 2: the non-trivial cases 2023-08-03 16:32:05 +00:00
default.nix haskell-modules/non-hackage-packages.nix: Wire pkgs and haskellLib 2024-03-07 15:19:03 +01:00
generic-builder.nix haskellPackages: Pass ghc-options in generic-builder when cross-compiling 2024-06-09 01:34:01 +02:00
generic-stack-builder.nix
hackage-packages.nix gitit: set maintainers via hackage2nix exclusively 2024-06-07 11:18:28 +02:00
HACKING.md treewide: Fix typos 2023-09-28 19:06:13 +02:00
hoogle-local-wrapper.sh
hoogle.nix
initial-packages.nix
make-package-set.nix callCabal2nixWithOptions: add srcModifier argument 2024-05-09 23:55:37 +02:00
non-hackage-packages.nix Revert "haskellPackages.hercules-ci-*: update" 2024-03-07 18:39:27 +01:00
package-list.nix Check pkg.meta.hydraPlatforms, not pkg.meta.broken 2023-07-15 18:12:07 +02:00
stack-hook.sh
with-packages-wrapper.nix haskellPackages.mkDerivation: remove version checks for unsupported GHC 2024-02-08 14:39:02 +01:00