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
ghc: wire up new binary ghc for bootstrapping #33129
Conversation
Pushed in e7fee0e327afc61edb0a9f086baa4f1528af174c; test builds are running at https://hydra.nixos.org/jobset/nixpkgs/haskell-updates. |
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.
Just two scattered thoughts from me on my phone. Looks good!
inherit (bootPkgs) alex happy; | ||
inherit buildPlatform targetPlatform; | ||
selfPkgs = packages.ghcHEAD; | ||
}; | ||
ghcjs = packages.ghc7103.callPackage ../development/compilers/ghcjs { | ||
bootPkgs = packages.ghc7103; | ||
bootPkgs = packages.ghc821Binary; |
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.
IIRC GHCJS needs older but I forget
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.
I haven't bothered since it's broken before this PR.
@@ -6,6 +6,9 @@ let | |||
"ghc6102Binary" | |||
"ghc704Binary" | |||
"ghc742Binary" | |||
"ghc784Binary" |
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.
This mean we can get rid of those ignored integer simple flags?
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.
Fixed! Thanks
This change brings development feedback loop improvement from a couple of ghc rebuilds to only one for working on generic builder. To completely eliminate the rebuilds, use two nixpkgs clones and point boot packages to the unmodified one.
32f96e1
to
695a026
Compare
This change brings development feedback loop improvement
from a couple of ghc rebuilds to only one for working on generic
builder.
To completely eliminate the rebuilds, use two nixpkgs clones
and point boot packages to the unmodified one.
Fixes #19926
Tested only on linux, I've found no regressions.