haskell.compiler.ghc902Binary: init at 9.0.2#411397
haskell.compiler.ghc902Binary: init at 9.0.2#411397sternenseemann merged 4 commits intoNixOS:haskell-updatesfrom
Conversation
This is more robust when new bindists are added to expressions since no additional conditional needs to be updated.
We can/should use 9.0.2 to bootstrap some GHC versions, having the bindist makes things easier in some cases. - To bootstrap GHC 9.4 using 9.2 is not possible and 8.10.7 doesn't always work. Since source built 9.0.2 is broken on darwin at the moment, the bindist helps. Reference NixOS#367686, NixOS#410085. - To bootstrap GHC 9.2 without GHC 8.10. Reference NixOS#346214.
|
I've successfully built |
|
I took this PR, applied #410085 and built (the first time I tried, I got a seg fault somewhere in the dependency chain, but that vanished the second time I tried - this was on the community builder, so maybe some other factors) |
For completeness, i did the same with |
f6eda98 to
8493ccf
Compare
|
Should we backport this, too? I just tried to build #411716, but that fails for darwin when bootstrapping (GHC 9.0.2). So I guess this would be fixed by this? |
|
Yes, I think so, but probably without the change for GHC 9.2. |
|
After this (on current haskell-updates), GHC 9.4 is still broken on darwin: The check-list says you tested darwin, @sternenseemann. Did this regress since merging this PR? Or did you only test GHC 9.0.2 binary? |
I tried building |
|
I think I tested haskell.packages.ghc94.hello on darwin, but couldn't tell you at which commit exactly. It is entirely possible that I rebased the branch at some point. In any case, the FFI header problem doesn't look all that mysterious at least. |
We can/should use 9.0.2 to bootstrap some GHC versions, having the
bindist makes things easier in some cases.
always work. Since source built 9.0.2 is broken on darwin at the
moment, the bindist helps. Reference Build failure: haskell.compiler.ghc{8107,902,92*,94*} on *-darwin #367686, haskell.compiler.ghc94: don't roundtrip C compilation via assembly #410085.
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.