Commit Graph

67 Commits

Author SHA1 Message Date
3f5a19c63e
Post release cleanup 2023-01-13 12:07:32 +08:00
b098aa4e65
Merge branch 'issue-368' 2022-12-27 00:09:59 +08:00
be8fa57be1
Freeze the MSYS2 version we install
Fixes #368
2022-12-20 23:38:48 +08:00
bcddb05b1d
Fix bootstrap under windows when msys2 has non-posix login shell 2022-12-20 22:46:58 +08:00
957867ff1c
Fix remaining gitlab links wrt #692 2022-11-22 19:06:12 +08:00
4a46de4c49
Switch releases to Github CI 2022-11-20 23:29:56 +08:00
4297a46f13
Merge remote-tracking branch 'origin/merge-requests/290' 2022-11-10 23:12:18 +08:00
3c5505d222
Fix disabling installation of stack
Fixes #429
2022-11-10 22:38:30 +08:00
Will Badart
70df740f9d Check $ZDOTDIR in bootstrap script
Zsh looks for .zshrc in $ZDOTDIR, or $HOME if $ZDOTDIR is unset. I doubt
non-$HOME $ZDOTDIRs are widespread (I might be the only one I know with
one), but it's how zsh's startup is defined, so it can happen.

This commit simply adds a check to the `*/zsh` case of `find_shell()` to
respect $ZDOTDIR if it is set.
2022-10-28 17:01:38 +00:00
e9575aba5c
Add stack ghc installation hooks and install stack by default 2022-09-22 00:04:14 +08:00
a544feffb3
Finalize release 2022-07-30 10:29:34 +08:00
60299b6bb8
Update HLS doc link 2022-07-27 23:29:33 +08:00
ea828cd13a
Fix non-interactive install on windows 2022-07-12 20:26:57 +02:00
256e1942f2
More stuff 2022-07-10 21:19:45 +02:00
aa71f0dfa1
Set wget 2022-07-10 21:05:51 +02:00
04d527c98a
Add DisableCurl powershell switch 2022-07-10 20:58:30 +02:00
7b59621179
Support wget in bootstrap script 2022-07-10 17:56:00 +02:00
9d59463ded
Add GHCUP_CURL_OPTS to bootstrap script 2022-07-10 17:35:45 +02:00
9b8b3e8126
Merge remote-tracking branch 'origin/merge-requests/263' 2022-06-26 23:14:10 +02:00
d657c17df4
Merge branch 'issue-375' 2022-06-26 23:11:32 +02:00
Jens Petersen
29da21f5dc bootstrap-haskell: s/will download/can download/
A one word tweak to weaken the language in the initial explanation
to make it "less scary": in general ghcup does not always download
all of ghcup, ghc, cabal, stack, and hls
(unless requested or they are not already installed, etc),
but "will download" sounds like the user is has no choice here
except to always download everything,
which might give them second thoughts about trying this script
and hence adopting ghcup.

Perhaps the wording could be made further more precise,
but at least "can" gives one less anxiety.
2022-06-11 13:06:54 +08:00
bcff46d3d4
Fix mingw PATH handling wrt #371 2022-06-07 14:37:23 +02:00
aae3f31c50
Fix bootstrap-haskell picking system cabal 2022-06-06 23:03:07 +02:00
001d33eabb
Use 'cabal update' 2022-05-22 22:47:40 +02:00
e9bd687b8f
Update ghcup version in bootstrap-haskell 2022-05-11 23:39:45 +02:00
a34d9b7b89
Fix type in bootstrap-haskell.ps1 2022-05-09 12:41:54 +02:00
b6779f4d75
Improve welcome message in powershell installer
And warn about antivirus, fixes #343
2022-05-04 14:45:05 +02:00
0856a96738
Bump ghcup in bootstrap-script 2022-04-21 23:02:30 +02:00
ee9801a8c2
Add GHCUP_BASE_URL env var for bootstrap-haskell 2022-04-18 13:22:20 +02:00
a4b69f29dc
Update first steps guide link 2022-04-02 23:36:16 +02:00
2aa5211886
Bump version in bootstrap-haskell 2022-03-18 23:25:49 +01:00
a2373f2056
Improve bootstrap-haskell and fix shellcheck warnings 2022-03-18 18:24:50 +01:00
8f9faaa39e
Fix appending on profile file if there's no trailing newline
Fixes #333
2022-03-18 17:33:08 +01:00
0898244b2a
Preserve symlinks when sedding profile file
Fixes #332
2022-03-18 17:32:37 +01:00
dc635a6601
Finalize release 2022-02-26 18:47:18 +01:00
2c583bcae9
Fix NoAdjustCabalConfig on windows 2022-02-21 16:39:25 +01:00
d05fad49a1
Fix installation with whitespaces in username, fixes #314 2022-02-13 21:11:48 +01:00
Phil Ruffwind
2ebff1e887 Fix the indentation in env files
This changes the indentation from tabs to spaces, since tabs get
stripped by the heredoc.
2022-01-26 01:15:06 -08:00
Phil Ruffwind
3565c32d51 Avoid adding duplicates to PATH
Without this, each time the env script gets executed it will add a copy
of the paths to PATH. This can happen when shells are nested.

The "case" trick was inspired by:
184a899f45/src/cli/self_update/env.sh
2022-01-08 00:34:16 -08:00
20652fed94
Fix comments in bootstrap-haskell.ps1 2021-12-06 20:00:17 +01:00
834bcfa02c
Use FreeBSD 13 in bootstrap script as well 2021-12-02 17:48:56 +01:00
c97ade81fa
Revert "Fix arch detection on macos"
This reverts commit dbadcf1858.
2021-12-01 20:54:44 +01:00
dbadcf1858
Fix arch detection on macos 2021-12-01 20:27:03 +01:00
ff8865c5c3
Fix bootstrap on FreeBSD 2021-11-30 22:40:18 +01:00
9833dee925
Fix freebsd bootstrap 2021-11-30 21:35:33 +01:00
aac2874f8f
Fix boostrap-haskell on FreeBSD 13 2021-11-30 19:00:33 +01:00
0c415314b6
Bump GHC version in bootstrap-haskell 2021-11-16 20:11:32 +01:00
7a841a480b
Run cabal update with --ignore-project, fixes #285 2021-11-14 17:49:59 +01:00
e74e746213
Trim whitespaces wrt #282 2021-11-13 20:35:50 +01:00
9592021c48
Bump version in bootstrap script 2021-10-27 14:28:32 +02:00