You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Activity
[-]Rewrite boostrap.sh[/-][+]Rewrite bootstrap.sh[/+]bgamari commentedon Apr 19, 2020
I would imagine it would also be helpful to write it in a language that isn't
bash. This is the sort of thing I usually fall back onto Python for.bgamari commentedon Apr 19, 2020
I gave this a quick shot in #6719.
phadej commentedon Jul 21, 2020
Continued in #6979