mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 14:43:37 +00:00
bf388d5514
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. |
||
---|---|---|
.. | ||
8.6.5-binary.nix | ||
8.8.4.nix | ||
8.10.2-binary.nix | ||
8.10.7-binary.nix | ||
8.10.7.nix | ||
9.0.2.nix | ||
9.2.4-binary.nix | ||
9.2.4.nix | ||
9.2.5.nix | ||
9.2.6.nix | ||
9.2.7.nix | ||
9.2.8.nix | ||
9.4.2.nix | ||
9.4.3.nix | ||
9.4.4.nix | ||
9.4.5.nix | ||
9.6.2.nix | ||
Cabal-3.2-3.4-paths-fix-cycle-aarch64-darwin.patch | ||
Cabal-3.6-paths-fix-cycle-aarch64-darwin.patch | ||
common-hadrian.nix | ||
gcc-clang-wrapper.sh | ||
ghc-8.8.4-sphinx-6.0.patch | ||
head.nix | ||
rename-numa-api-call.patch | ||
respect-ar-path.patch | ||
sphinx-4-configuration.patch |