Commit Graph

4 Commits

Author SHA1 Message Date
56874f8893
Use GHCUP_INSTALL_BASE_PREFIX in bootstrap-haskell 2019-01-25 10:37:11 +08:00
99843f3201
Fix edo in bootstrap-haskell
This seems to have caused occasional weird
side-effects on the following line:

  edo curl https://raw.githubusercontent.com/haskell/ghcup/master/ghcup > "${HOME}"/.ghcup/bin/ghcup
  ...
  edo ghcup install

It would result in:

  ~/.ghcup/bin/ghcup: line 1: $'\E[0': command not found
  ~/.ghcup/bin/ghcup: line 1: 35mcurl: command not found

which seems to be because of printf and the piping command.
It's not entirely clear to me what happens here, but it
seems part of the printf output to stdout where mixed
with the next command.
2019-01-24 14:18:47 +08:00
7d40a32a48
Fix number of jobs for cabal new-install in bootstrap-haskell 2019-01-07 11:21:00 +08:00
82c1636590
Add a bootstrap-haskell script, fixes #36 2019-01-04 17:55:47 +08:00