Commit Graph

191 Commits

Author SHA1 Message Date
1b6aed0e55
Merge remote-tracking branch 'origin/pr/69' 2019-02-18 10:54:50 +08:00
Joe Kachmar
318fbdc680
Bumps VERSION to 0.0.7 2019-02-12 14:25:04 -05:00
f99dd5d9cf
Add notes about libnuma issues 2019-02-05 09:12:06 +08:00
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
b60e546e9a
Add historical note about CM 2019-01-13 14:34:44 +08:00
89e30cac5d
Tweak README 2019-01-07 16:04:10 +08:00
64e9d26270
Fix travis 2019-01-07 11:39:49 +08:00
7d40a32a48
Fix number of jobs for cabal new-install in bootstrap-haskell 2019-01-07 11:21:00 +08:00
e0b1e5afef
Set ghc-8.6.3 as the recommended version
It seems to work well with current ecosystem and stackage
has just introduced 8.6.3 as part of lts-13.1:
  https://www.stackage.org/lts-13.1
2019-01-07 11:12:18 +08:00
225d2d2be4
Merge branch 'bootstrap' 2019-01-07 11:08:40 +08:00
82c1636590
Add a bootstrap-haskell script, fixes #36 2019-01-04 17:55:47 +08:00
820d8eaa69
Improve error handling
In most cases, when we run a subshell with our own function
and assign the result to a variable, we also need to check that
the variable is non-empty, since 'die' and 'edo' don't propagate
to the parent shell.

In some cases, non-emptiness is handled in other ways or is not
fatal.
2019-01-04 16:07:50 +08:00
9cc652e34d
Remove is_sourced functionality, it's not needed anymore 2019-01-04 13:53:09 +08:00
4c548c1037
Tweak exit code for 'ghcup install'
If a GHC is already installed, we shouldn't treat it as an
error.
2019-01-04 13:51:29 +08:00
717a8256a6
Make 'ghcup set' tag-aware 2019-01-04 13:51:28 +08:00
d1cb7127af
Fix travis with latest shellcheck 2019-01-04 13:49:56 +08:00
79881100ff
Improve documentation in .available-versions 2019-01-04 13:05:53 +08:00
f9195eb4d0
Improve documentation in .download-urls 2019-01-04 13:03:26 +08:00
f850329134
Merge github.com/andreabedini/ghcup.git patch-1 2018-12-30 00:20:09 +01:00
Andrea Bedini
ac83c76bfb
Centos binaries seems to work on Amazon Linux
Note that the packages `ncurses-term` and `gmp-devel` are required to run ghc.
2018-12-27 15:40:39 +01:00
Andrea Bedini
5f04b34b15
Introduce distro_alias for Amazon Linux
Amazon Linux introduces itself as

```
andrea:~ $ cat /etc/os-release 
NAME="Amazon Linux AMI"
VERSION="2018.03"
ID="amzn"
ID_LIKE="rhel fedora"
VERSION_ID="2018.03"
PRETTY_NAME="Amazon Linux AMI 2018.03"
ANSI_COLOR="0;33"
CPE_NAME="cpe:/o:amazon:linux:2018.03:ga"
HOME_URL="http://aws.amazon.com/amazon-linux-ami/"
```
2018-12-27 15:37:43 +01:00
29164f33b0
Clarify log information 2018-12-15 00:35:31 +08:00
8d0b7b9680
Be more precise about bug description 2018-12-15 00:35:31 +08:00
96d29059ba
Create issue template 2018-12-15 00:35:31 +08:00
75e48da9a0
Introduce a GHCUP_INSTALL_BASE_PREFIX
Partly "fixes" #7
2018-12-15 00:31:19 +08:00
6072ded541
Merge remote-tracking branch 'origin/pr/59' 2018-12-12 10:39:49 +08:00
Dale Wijnand
549340c95a
Drop unused fast_finish: true from .travis.yml
"fast_finish: true" is only effective when you have jobs in your
build matrix that you allow to fail, which isn't the case here.

https://blog.travis-ci.com/2013-11-27-fast-finishing-builds
2018-12-11 22:13:33 +00:00
2f44cc88ac
Fix download url for 8.6.3 2018-12-08 12:56:25 +08:00
0b67aeb23f
Update for GHC-8.6.3 2018-12-08 12:34:51 +08:00
Herbert Valerio Riedel
ed54676794
Add alpine/aix/fbsd cabal bindists to metadata 2018-11-28 01:08:21 +01:00
Herbert Valerio Riedel
18d393cfba
Improve detection logic for CentOS/Alpine/AIX/FreeBSD 2018-11-28 01:08:20 +01:00
Herbert Valerio Riedel
d900d0b10c
Emit distro-alias inferred in debug-info output 2018-11-28 01:08:20 +01:00
c3adab5c43
Add cabal-install 2.4.1.0 to metadata, fixes #54 2018-11-27 15:16:38 +08:00
17fe22202e
Add design goals to README 2018-11-24 19:35:17 +08:00
b7fd47373a
Merge remote-tracking branch 'origin/pr/52' 2018-11-20 10:39:31 +08:00
gbaz
96ea0766ac
update readme to reflect mac support 2018-11-19 11:04:48 -05:00
907adca572
Create missing haddock -> haddock-ghc symlink
Fixes #50
2018-11-19 21:12:22 +08:00
d0eae9ab94
Merge remote-tracking branch 'origin/pr/44' 2018-11-13 00:10:48 +08:00
Oleg Grenrus
6008d8a964 Support installing on macOS aka Darwin
Resolves https://github.com/haskell/ghcup/issues/33
2018-11-11 20:13:06 +02:00
2b9f1a4a20
Include tags in 'ghcup list' and improve formatting 2018-11-06 22:01:02 +08:00
5eee1b6d58
Fix check_meta_file_version calls 2018-11-06 16:27:27 +08:00
478dd40dcf
Merge remote-tracking branch 'origin/pr/43' 2018-11-06 16:13:35 +08:00
cbb027d1ea
Allow to specify tags for 'install' and 'install-cabal' 2018-11-06 15:14:55 +08:00
a8032d54d5
Merge remote-tracking branch 'remotes/origin/pr/42' 2018-11-06 01:42:54 +08:00
Mitchell Rosen
632eda5507
GHC 8.6.2 metadata 2018-11-05 12:19:16 -05:00
475d060abe
Rename self-update to upgrade, fixes #38 2018-11-04 19:06:40 +08:00
2ef3c22cab
Refactor checking for required commands 2018-11-04 18:26:21 +08:00
91f046f6e9
Allow ghcup to be sourced 2018-11-04 18:20:50 +08:00
72acd59025
Simplify mkdir calls
mkdir -p is POSIX, so just... use it.
2018-10-31 10:30:38 +08:00