Commit Graph

19 Commits

Author SHA1 Message Date
Julian Ospald 7034131632
Improve shell detection in bootstrap-haskell wrt #121 2019-11-27 12:03:48 +08:00
Richard Marmorstein fc10832378 More actionable instructions in bootstrap-haskell 2019-11-19 18:58:36 -05:00
Julian Ospald d64426f107
Retab 2019-11-05 12:04:30 +08:00
Julian Ospald 2e3968d500
Suggest to create .bash_profile if it doesn't exist 2019-11-05 11:58:37 +08:00
Julian Ospald b3feba0cd4
Improve choice messages and loop until proper answer is given 2019-10-22 11:44:50 +08:00
Julian Ospald 1280acf40e
Add BOOTSTRAP_HASKELL_VERBOSE env variable 2019-10-21 15:40:11 +08:00
Julian Ospald 7440c26f82
Be a little bit less dramatic about modifying .bashrc 2019-10-21 15:14:22 +08:00
Alex McLean 205d7e84f5 Skip adjusting PATH if in noninteractive mode. 2019-10-15 17:24:15 -04:00
Julian Ospald 5c1d71154d
Also check for .bash_profile 2019-08-22 15:37:20 +08:00
Julian Ospald 61a5e17944
Make installation via bootstrap-haskell easier
Fixes #113
2019-08-21 22:34:53 +08:00
Julian Ospald da988b1eaf
Move away from github 2019-05-24 16:22:40 +08:00
Julian Ospald c4a8789ed3
Be a little bit less verbose in bootstrap-haskell 2019-04-11 10:42:29 +08:00
Julian Ospald 8c1dfa3ba0
Enable caching only for bootstrap-haskell wrt #11 2019-04-11 10:35:37 +08:00
Julian Ospald ba64b13417
Introduce print-system-reqs wrt #49
And also make bootstrap-haskell print this by default.
2019-04-10 23:43:58 +08:00
Julian Ospald 78a6e235a8
Don't reinstall cabal-install from source in bootstrap-haskell
We already have the latest version available quite reliably.
2019-03-27 22:54:02 +08:00
Julian Ospald 56874f8893
Use GHCUP_INSTALL_BASE_PREFIX in bootstrap-haskell 2019-01-25 10:37:11 +08:00
Julian Ospald 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
Julian Ospald 7d40a32a48
Fix number of jobs for cabal new-install in bootstrap-haskell 2019-01-07 11:21:00 +08:00
Julian Ospald 82c1636590
Add a bootstrap-haskell script, fixes #36 2019-01-04 17:55:47 +08:00