Commit Graph

326 Commits

Author SHA1 Message Date
af5fda0cd6
Switch version detection logic, by @trac-lierdakil 2019-12-16 15:11:27 +08:00
b82146d346
Merge remote-tracking branch 'remotes/origin/merge-requests/117' 2019-12-16 15:01:39 +08:00
b69ae29836
Point windows users to ghcups
Closes #114
2019-12-13 13:56:10 +08:00
e349d41e12
Merge remote-tracking branch 'origin/merge-requests/130' 2019-12-07 13:56:00 +08:00
Olius
f4b8a209c7 Changed "local" mydistro to mktemp_mydistro to avoid global name conflicts 2019-12-06 22:46:21 -05:00
Olius
9a087197c9 Added newline to match script style 2019-12-06 21:01:06 -05:00
Olius
8711a4a318 Added mydistro definition to fix mktempdir 2019-12-06 20:59:04 -05:00
c19f69d41b
Merge branch 'zsh-detection' 2019-11-27 14:45:14 +08:00
7034131632
Improve shell detection in bootstrap-haskell wrt #121 2019-11-27 12:03:48 +08:00
6afec9094d
Merge remote-tracking branch 'origin/merge-requests/127' 2019-11-20 12:06:29 +08:00
Richard Marmorstein
fc10832378 More actionable instructions in bootstrap-haskell 2019-11-19 18:58:36 -05:00
4f345d109a
Change implementation of mktempdir 2019-11-13 11:29:02 +08:00
28c8c44574
Merge remote-tracking branch 'origin/merge-requests/124' 2019-11-13 11:11:43 +08:00
c72fac8d17
Merge remote-tracking branch 'origin/merge-requests/125' 2019-11-13 11:05:44 +08:00
d64426f107
Retab 2019-11-05 12:04:30 +08:00
2e3968d500
Suggest to create .bash_profile if it doesn't exist 2019-11-05 11:58:37 +08:00
alex
264d84be68 provide temporary directory name prefix only for Darwin 2019-11-04 21:43:48 +00:00
Alex McLean
021a983e91 Add template to mktemp commands, for compatibility with earlier versions of MacOS.
Ref: https://forum.toplap.org/t/trouble-setting-up-tidal-stack-install/902/20
2019-10-31 06:42:05 -04:00
42e8989d0b
Merge branch 'tighten-file-checks' 2019-10-30 17:26:04 +08:00
8e418eac7e
Use -f instead of -e where applicable 2019-10-22 12:04:03 +08:00
b3feba0cd4
Improve choice messages and loop until proper answer is given 2019-10-22 11:44:50 +08:00
5d323c1140
Add chocolatey note to README 2019-10-21 15:47:19 +08:00
1280acf40e
Add BOOTSTRAP_HASKELL_VERBOSE env variable 2019-10-21 15:40:11 +08:00
7440c26f82
Be a little bit less dramatic about modifying .bashrc 2019-10-21 15:14:22 +08:00
53b2924850
Merge remote-tracking branch 'origin/merge-requests/121' 2019-10-21 10:58:30 +08:00
Alex McLean
205d7e84f5 Skip adjusting PATH if in noninteractive mode. 2019-10-15 17:24:15 -04:00
6a126e6bfe
Merge branch 'alpine-8.8.1' 2019-10-08 17:36:21 +08:00
d1912997e9
Add support for GHC-8.8.1 on alpine 2019-10-08 12:43:46 +08:00
db9463a795
Merge remote-tracking branch 'origin/merge-requests/119' 2019-10-03 16:36:36 +08:00
toonn
d28923968f Change to bundled-flags arguments for compatibility
Older versions of tar don't understand the `-xf` flags while newer
versions understand the "bundled-flags" (as documend in bsdtar's
manpage) perfectly. So `tar xf` should maximize compatibility.
2019-09-29 14:47:04 +02:00
toonn
9f083c53e9 Bsdtar has no explicit flag for xz decompression
At least as of Mac OS 10.13.6 the included bsdtar has no flag for xz
decompression while `z` means gzip decompression which is obviously
problematic for xz compressed archives.

I believe that any tar version on Mac OS that can decompress xz archives
also automatically detects compression formats. So `tar xf` should be
fine.

Fixes #119
2019-09-29 14:43:05 +02:00
c3c11ef5a8
Merge remote-tracking branch 'origin/merge-requests/118' 2019-09-04 10:29:25 +08:00
Joseph C. Sible
bea68cd831 Remove xz-utils
This is redundant to build-essential.
2019-09-02 13:28:49 -04:00
Joseph C. Sible
2dd3b5f2c4 Add two more packages for Debian/Ubuntu
If libtinfo5 isn't installed, then installation fails with a message like this:
/home/ubuntu/.ghcup/ghc/8.6.5/lib/ghc-8.6.5/bin/ghc-pkg: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory

If xz-utils isn't installed, then installation fails with a message like this:
Following commands are required, but missing, please install:  xz
2019-08-31 18:50:30 -04:00
Sam Halliday
b2e0db9031 fixup! shellcheck 2019-08-28 21:17:40 +01:00
Sam Halliday
cfa2986e0c shellcheck 2019-08-28 21:04:39 +01:00
Sam Halliday
8bde9b9365 support compilation of ghc 8.8.1+ 2019-08-28 20:35:08 +01:00
4bf9bbf72f
Merge remote-tracking branch 'origin/MR/cabal30' 2019-08-28 11:36:59 +08:00
Herbert Valerio Riedel
fce0ed8bf4
Register cabal 3.0.0.0 artifacts 2019-08-27 15:20:58 +02:00
4f6ea146b7
Update latest tag 2019-08-26 18:09:06 +08:00
86c51cae35
Merge remote-tracking branch 'origin/merge-requests/115' 2019-08-26 18:08:36 +08:00
Ben Gamari
18c088df1d
Add GHC 8.8.1 2019-08-26 05:41:10 -04:00
5c1d71154d
Also check for .bash_profile 2019-08-22 15:37:20 +08:00
612e0e1ee2
Merge branch 'easier-install' 2019-08-22 10:50:32 +08:00
61a5e17944
Make installation via bootstrap-haskell easier
Fixes #113
2019-08-21 22:34:53 +08:00
077ed765b7
Fix command_exists for darwin 2019-08-21 19:28:35 +08:00
689ff9e64e
Merge branch 'no-path' 2019-08-21 16:02:03 +08:00
7713180914
Remove redundant PATH messages wrt #113 2019-08-19 10:24:22 +08:00
10d1d2cc58
Merge branch 'no-root' 2019-08-15 11:27:09 +08:00
e23f2a84a6
www: specify that the installation command should be run as normal user
Fixes #112
2019-08-15 11:25:52 +08:00