nixpkgs/pkgs/development/compilers/ghc
sternenseemann bf388d5514 haskell.compiler.ghc*Binary: make sure meta can always be evaluated
The `meta` set of the binary GHCs is mostly independent of the used
bindist (except for `pname` which includes `variantSuffix`). Thus we
should make sure it can be evaluated even if no bindist is available for
the platform, i.e. evaluating `outPath` may cause an evaluation failure,
but `meta.platforms` not. Use case at present is to make
`lib.meta.availableOn` work everywhere for any GHC (the normal GHCs
inherit their platforms list from their respective boot compiler, at
least for now).

To fix this we need to make sure that shallowly evaluating `passthru`
doesn't force `binDistUsed`, since `mkDerivation` needs to merge
`passthru` into the resulting derivation attribute set, thus forcing the
attribute names of `passthru`. We can easily do this by accessing what
we want to learn from `ghcBinDists` manually and using `or` to fall back
to a sensible default.
2023-08-02 12:30:10 +02:00
..
8.6.5-binary.nix
8.8.4.nix ghc: fix typos 2023-05-08 20:12:24 +04:00
8.10.2-binary.nix haskell.compiler.ghc*Binary: make sure meta can always be evaluated 2023-08-02 12:30:10 +02:00
8.10.7-binary.nix haskell.compiler.ghc*Binary: make sure meta can always be evaluated 2023-08-02 12:30:10 +02:00
8.10.7.nix ghc: fix typos 2023-05-08 20:12:24 +04:00
9.0.2.nix ghc: fix typos 2023-05-08 20:12:24 +04:00
9.2.4-binary.nix haskell.compiler.ghc*Binary: make sure meta can always be evaluated 2023-08-02 12:30:10 +02:00
9.2.4.nix ghc: fix typos 2023-05-08 20:12:24 +04:00
9.2.5.nix ghc: fix typos 2023-05-08 20:12:24 +04:00
9.2.6.nix ghc: fix typos 2023-05-08 20:12:24 +04:00
9.2.7.nix ghc: fix typos 2023-05-08 20:12:24 +04:00
9.2.8.nix haskell.compiler.ghc928: init at 9.2.8 2023-05-27 17:24:01 +09:00
9.4.2.nix ghc: fix typos 2023-05-08 20:12:24 +04:00
9.4.3.nix ghc: fix typos 2023-05-08 20:12:24 +04:00
9.4.4.nix ghc: fix typos 2023-05-08 20:12:24 +04:00
9.4.5.nix ghc: fix typos 2023-05-08 20:12:24 +04:00
9.6.2.nix haskell.compiler.ghc962: init at 9.6.2 2023-05-30 13:35:14 +02:00
Cabal-3.2-3.4-paths-fix-cycle-aarch64-darwin.patch
Cabal-3.6-paths-fix-cycle-aarch64-darwin.patch
common-hadrian.nix haskell.compiler.ghc962: fix build on Darwin after stdenv rework merge 2023-07-14 10:51:29 -06:00
gcc-clang-wrapper.sh
ghc-8.8.4-sphinx-6.0.patch
head.nix haskell.compiler.ghcHEAD: 9.7.20230505 -> 9.7.20230527 2023-06-08 18:17:07 +02:00
rename-numa-api-call.patch
respect-ar-path.patch
sphinx-4-configuration.patch