-
Notifications
You must be signed in to change notification settings - Fork 701
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
Rewrite bootstrap.sh #6700
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It should have:
These lists should be autogenerated, with help of
cabal-plan
(I have done something close in spirit in https://github.com/phadej/cabal-extras/tree/master/cabal-bundler so I know it's possible).It should also check the hashes of
.tar.gz
and revision.cabal
files downloaded (cabal-bundler
does that).Why so? Because
bootstrap.sh
is largely not maintained. We test it with single ghc-compiler version. Much better would be if it was "correct by construction".The script should always work with self-created
ghc-pkg init
package database (which is called sandbox in current script).It should not generate documentation, when there's working
cabal-install
, one could iterate to get it. Same applies for anything extra.bootstrap.sh
purpose is to get first working version on platform where there are no (older)cabal-install
. All other use-cases are out-of-scope.The text was updated successfully, but these errors were encountered: