Commit Graph

236 Commits

Author SHA1 Message Date
Julian Ospald 8a6ff2ff16
Merge remote-tracking branch 'origin/pr/90' 2019-05-24 10:08:36 +08:00
Julian Ospald a3cc8386ec
Merge remote-tracking branch 'origin/pr/99' 2019-05-24 10:06:47 +08:00
Francesco Gazzetta 5a60195c47 Add Linux Mint support 2019-05-19 19:50:21 +02:00
Julian Ospald 17aafe3439
posix_realpath: if dir does not exist also append to current dir
This matches realpath behavior.
2019-05-17 11:12:12 +08:00
Julian Ospald 6e1ee078cc
posix_realpath: make sure we don't loop infinitely
On broken symlink loops this would never terminate. The most
naive and easy solution is a max of loop steps.
2019-05-17 11:12:12 +08:00
Julian Ospald 09abd528ee
Merge branch 'some-error-handling' 2019-05-17 11:05:29 +08:00
Julian Ospald ed456d2071
Fix cd when CDPATH is set wrt #98 2019-05-17 11:02:07 +08:00
Julian Ospald 3c5e323490
Improve some error handling 2019-04-24 14:38:34 +08:00
Julian Ospald 01f7a58565
Add support for 8.6.5 2019-04-24 14:37:32 +08:00
Julian Ospald 85ae92c4cb
Add FAQ section to README 2019-04-13 10:34:01 +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 c64cf0efca
Silence stderr for download_to_stdout 2019-04-11 10:24:30 +08:00
Julian Ospald f8abcb7d08
Merge branch 'system-reqs' 2019-04-11 10:15:15 +08:00
Julian Ospald ad75249fc4
Merge branch 'ghcup-upgrade-tweak' 2019-04-10 23:57:35 +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 50f661092d
Fix ghcup list -t all 2019-04-10 21:56:48 +08:00
Julian Ospald 2a92c96ea9
Merge branch 'overhaul-list-subcommand' 2019-04-10 19:06:31 +08:00
Julian Ospald ae8b5ae27e
Debug output to stderr 2019-04-10 14:42:36 +08:00
Julian Ospald 032b95aa9b
Remove show command, which is obsolete now 2019-04-10 14:37:01 +08:00
Julian Ospald f26830c9b4
Considerably tweak the list subcommand wrt #88 2019-04-10 14:37:01 +08:00
Julian Ospald 36e8389bb0
Tweak ghcup upgrade
1. add --inplace flag
2. by default install into BIN_LOCATION
2019-04-07 02:08:09 +08:00
Julian Ospald ae99de5876
Merge branch 'rm-cabal-reinstall' 2019-03-28 08:35:09 +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 0250b9fc97
Merge remote-tracking branch 'origin/pr/79' 2019-03-25 16:27:06 +08:00
Dale Wijnand 66c63f349d
Prefer "macOS" over "Mac OS X"
(Apple rebranded Mac OS X to OS X in 2012, and then to macOS in 2016.)
2019-03-24 18:27:10 +00:00
Dale Wijnand 6cd563b139
Stop pointing to futurice now macOS is supported 2019-03-24 18:27:07 +00:00
Julian Ospald febd0ac8a3
Merge branch 'www' 2019-03-23 20:26:18 +08:00
Julian Ospald afe5670101
[www] Add note for people who don't like curl | sh 2019-03-23 11:44:05 +08:00
Julian Ospald 9b2cb028c5
[www] Make a distinction between unix, linux, mac, ... 2019-03-23 11:23:28 +08:00
Julian Ospald c902304793
Add ghcup www, design from rustup 2019-03-23 00:44:14 +08:00
Julian Ospald ff9261ba0c
Merge branch 'changelog-subcommand' 2019-03-07 20:01:29 +08:00
Julian Ospald 12f9f155fb
Implement changelog subcommand wrt #72 2019-03-07 20:00:43 +08:00
Julian Ospald 8e634b9444
Merge branch 'trap' 2019-03-07 19:55:37 +08:00
Julian Ospald d01ed08504
Use trap to clean up interrupted download in cache
Fixes #73
2019-03-06 17:10:19 +08:00
Julian Ospald 21ba3f3714
Merge remote-tracking branch 'origin/pr/71' 2019-03-06 12:09:59 +08:00
David Tchepak 18c7e546b6 Add GHC 8.6.4
Added downloads available from https://downloads.haskell.org/~ghc/8.6.4/
as at the time of commit.

Have not made this recommended yet until common tools and libs are all
confirmed to work fine.
2019-03-06 10:55:33 +11:00
Julian Ospald bbf63c3881
Merge remote-tracking branch 'origin/pr/70' 2019-02-20 18:20:57 +08:00
George Wilson ae263ac282 Unquote invocations in emake 2019-02-20 13:18:22 +10:00
George Wilson 35bd1c04db Only read the FreeBSD major version 2019-02-18 15:48:16 +10:00
George Wilson bb80559fb3 Specify versions for FreeBSD 2019-02-18 13:59:17 +10:00
George Wilson 45d939219c Make shellcheck happy 2019-02-18 13:19:25 +10:00
Julian Ospald eb1dd745c1
Hide 'compile' subcommand by default from help menu 2019-02-18 11:01:52 +08:00
Julian Ospald 1b6aed0e55
Merge remote-tracking branch 'origin/pr/69' 2019-02-18 10:54:50 +08:00
George Wilson 398d8d7ae0 Define emake to enable installing on FreeBSD 2019-02-17 09:11:16 +10:00
George Wilson 4c22f6f41f Add FreeBSD download URLs 2019-02-17 03:32:28 +10:00
Joe Kachmar 318fbdc680
Bumps VERSION to 0.0.7 2019-02-12 14:25:04 -05:00
Julian Ospald f99dd5d9cf
Add notes about libnuma issues 2019-02-05 09:12:06 +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