-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
ghc bootstrap binary: 8.2.1 -> 8.2.2 #50808
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Note that this impacts users of GHC 8.2, 8.4, and 8.6 equally: all of them need the GHC 8.2-binary bootstrap compiler when building from src. Without this, any build of any GHC fails (almost) immediately with this error, since the bootstrap compiler is unable to create package databases on NFS:
I verified that the |
@@ -24,30 +24,30 @@ let | |||
in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you like I could change line 20 at the same time, since this is going to cause a rebuild already.
@GrahamcOfBorg build haskell.compiler.ghc822Binary |
Success on x86_64-linux (full log) Attempted: haskell.compiler.ghc822Binary Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: haskell.compiler.ghc822Binary Partial log (click to expand)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please target haskell-updates
rather than staging
.
If the nix store lives on NFS, `ghc 8.2.1` is unable to build a package database. This bug was fixed by @bgamari in `ghc 8.2.2` here: https://ghc.haskell.org/trac/ghc/ticket/13945 This commit upgrades the unpacked bootstrap GHC version, so that we can build newer versions of GHC even if the store is on NFS.
6dd9d57
to
51a79e9
Compare
Rebased onto |
Test builds are running at https://hydra.nixos.org/jobset/nixpkgs/haskell-updates. |
Thanks @peti! |
If the nix store lives on NFS,
ghc 8.2.1
is unable to build a packagedatabase. This bug was fixed by @bgamari in
ghc 8.2.2
here:https://ghc.haskell.org/trac/ghc/ticket/13945
This commit upgrades the unpacked bootstrap GHC version, so that we can build
newer versions of GHC even if the store is on NFS.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)