nixpkgs/pkgs
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
..
applications Merge pull request #246501 from r-ryantm/auto-update/fuzzel 2023-08-02 11:48:18 +02:00
build-support Revert "Update JAX" 2023-08-01 21:23:27 -06:00
common-updater
data Merge pull request #246607 from pzeinlinger/master 2023-08-02 00:16:11 -03:00
desktops Merge pull request #246533 from wineee/terminal-emulators 2023-08-01 18:27:28 -06:00
development haskell.compiler.ghc*Binary: make sure meta can always be evaluated 2023-08-02 12:30:10 +02:00
games unciv: 4.7.8-patch1 -> 4.7.11 2023-08-01 09:01:22 +00:00
misc
os-specific Merge pull request #246466 from LibreCybernetics/linux-update 2023-08-01 15:17:00 +02:00
pkgs-lib
servers Merge pull request #246711 from r-ryantm/auto-update/oven-media-engine 2023-08-02 11:22:33 +01:00
shells nix-your-shell: 1.1.1 -> 1.3.0 2023-08-01 17:00:38 -07:00
stdenv
test
tools Merge pull request #246645 from NixOS/haproxy/use-finalAttrs-pattern 2023-08-02 10:36:14 +02:00
top-level nimPackages.ws: init 0.5.0 2023-08-02 11:20:26 +01:00