haskell.nix
haskell.nix copied to clipboard
Non-existent ghc-boot-9.8.2 package referenced in stackage nightly nix file
hackage."ghc-boot"."9.8.2"
referenced in nightly-2024-04-24.nix
even though it doesn't exist in hackage.nix
:
error: attribute '"9.8.2"' missing
at /nix/store/bfvx0a76dj5vvbr9f61f5k77m2qs733h-source/nightly-2024-04-24.nix:1197:29:
1196| "persistent-postgresql".revision = hackage."persistent-postgresql"."2.13.6.1".revisions."e72a2be447c8bf6f0e78c375df5dfe247855685b0cc6f31ac9888961636568ff";
1197| "ghc-boot".revision = hackage."ghc-boot"."9.8.2".revisions.default;
| ^
1198| "apecs".revision = hackage."apecs"."0.9.6".revisions."983fe81336e2a3229c55de174f43c32d6b74a17f7fee6fbe2554bebffcd2d332";
Did you mean one of 9.2.2, 9.8.1, 8.0.2, 8.2.2 or 8.4.2?
Is this a new issue? What should I run to reproduce this?
I'm not sure how long this has been an issue, I was setting up a new project from scratch and not upgrading an existing one.
In hindsight I should have kept better track of the reproducing conditions, I assumed the misalignment between hackage.nix and stackage.nix would be a clear enough error to not worry too much about that.
I think it may have first popped up when trying to build miso with js backend and it failed on a dep?
ghc-boot 9.8.2 is not in hackage. I think the problem is that we leave it out of overlays/ghc-packages.nix
for isGhcjs
. I can't remember why that was, but the JS backend does need it and I saw this issue when getting #2199 working.
That PR included a fix.