Commit Graph

79 Commits

Author SHA1 Message Date
Julian Ospald 09e199a176
Bump bootstrap script to 0.1.22.0 2024-03-13 20:54:23 +08:00
Julian Ospald 96f7aa5c62
Allow to set ghcup msys2 environment
Fixes #982
2024-02-18 16:22:20 +08:00
Julian Ospald 80703d7b29
Be more portable wrt sourcing scripts 2024-02-02 16:18:50 +08:00
Julian Ospald 942685f396
Also dump env into ~/.profile, fixes #763 2024-02-02 15:40:31 +08:00
Julian Ospald 02744ff4a0
Don't spam bashrc with commented lines 2024-02-02 15:31:32 +08:00
Julian Ospald b837a93176
Merge remote-tracking branch 'origin/pr/943' 2024-01-20 16:59:53 +08:00
Julian Ospald 3ff65219e8
Merge remote-tracking branch 'origin/pr/976' 2024-01-20 16:52:31 +08:00
Julian Ospald 2850f343b9
Disable cabal XDG by default 2024-01-16 23:59:39 +08:00
Geoffrey Noel 8d6445c632 Assume /home/gnoel/.local/share if XDG_DATA_HOME is not set 2024-01-13 18:35:37 -05:00
Geoffrey Noel de611e0d4e Consider STACK_XDG env to determine the stack root path 2024-01-13 15:34:14 -05:00
Julian Ospald c680a9f33b
Support cygwin in bootstrap-haskell too
Fixes #958
2023-12-29 19:56:38 +08:00
Yuto Tanaka 9d7f99bd00 Fix many typos 2023-11-30 18:12:46 +09:00
Julian Ospald 8b6b3d2fbe
Update bootstrap script ghver 2023-11-10 21:41:19 +08:00
Julian Ospald 30a10d871a
Update bootstrap script 2023-11-09 23:42:31 +08:00
Julian Ospald e14600ae75
Update ghver in bootstrap script 2023-07-02 18:56:18 +08:00
Julian Ospald 572ee06bbb
Update ghcup version in bootstrap script 2023-06-29 20:12:10 +08:00
Ryan Davis 98098035c9
Use correct environment variable for `STACK_ROOT`
The environment variable used to set the root Stack directory was
incorrectly defined as STACK_ROOOT (typo with an extra 'O'). 

This has been fixed and the correct STACK_ROOT variable is now used.

See: https://docs.haskellstack.org/en/stable/environment_variables/#stack_root
2023-03-16 13:38:25 +11:00
Julian Ospald ea6c8d338c
Bump ghcup in bootstrap script 2023-02-24 19:52:50 +08:00
Julian Ospald 420323f43b
Update bootstrap script to 0.1.19.1 2023-02-19 23:58:07 +08:00
Julian Ospald 31e83cac5e
Don't configure meta-mode = Strict in bootstrap 2023-02-08 22:42:17 +08:00
Julian Ospald d3a1115b99
Fix FreeBSD URL 2023-02-04 01:00:52 +08:00
Julian Ospald 2e39b7b603
Fix FreeBSD URL 2023-02-03 22:43:41 +08:00
Julian Ospald 048932bf50
Fix _eghcup invocations 2023-02-01 16:53:25 +08:00
Julian Ospald 69d325bf90
Set metadata fetching mode to strict in bootstrap script
And improve error messages.
2023-02-01 16:44:10 +08:00
Julian Ospald 3f5a19c63e
Post release cleanup 2023-01-13 12:07:32 +08:00
Julian Ospald 957867ff1c
Fix remaining gitlab links wrt #692 2022-11-22 19:06:12 +08:00
Julian Ospald 4a46de4c49
Switch releases to Github CI 2022-11-20 23:29:56 +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
Julian Ospald e9575aba5c
Add stack ghc installation hooks and install stack by default 2022-09-22 00:04:14 +08:00
Julian Ospald a544feffb3
Finalize release 2022-07-30 10:29:34 +08:00
Julian Ospald 60299b6bb8
Update HLS doc link 2022-07-27 23:29:33 +08:00
Julian Ospald ea828cd13a
Fix non-interactive install on windows 2022-07-12 20:26:57 +02:00
Julian Ospald 256e1942f2
More stuff 2022-07-10 21:19:45 +02:00
Julian Ospald aa71f0dfa1
Set wget 2022-07-10 21:05:51 +02:00
Julian Ospald 7b59621179
Support wget in bootstrap script 2022-07-10 17:56:00 +02:00
Julian Ospald 9d59463ded
Add GHCUP_CURL_OPTS to bootstrap script 2022-07-10 17:35:45 +02:00
Julian Ospald 9b8b3e8126
Merge remote-tracking branch 'origin/merge-requests/263' 2022-06-26 23:14:10 +02:00
Julian Ospald 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
Julian Ospald bcff46d3d4
Fix mingw PATH handling wrt #371 2022-06-07 14:37:23 +02:00
Julian Ospald aae3f31c50
Fix bootstrap-haskell picking system cabal 2022-06-06 23:03:07 +02:00
Julian Ospald 001d33eabb
Use 'cabal update' 2022-05-22 22:47:40 +02:00
Julian Ospald e9bd687b8f
Update ghcup version in bootstrap-haskell 2022-05-11 23:39:45 +02:00
Julian Ospald 0856a96738
Bump ghcup in bootstrap-script 2022-04-21 23:02:30 +02:00
Julian Ospald ee9801a8c2
Add GHCUP_BASE_URL env var for bootstrap-haskell 2022-04-18 13:22:20 +02:00
Julian Ospald a4b69f29dc
Update first steps guide link 2022-04-02 23:36:16 +02:00
Julian Ospald 2aa5211886
Bump version in bootstrap-haskell 2022-03-18 23:25:49 +01:00
Julian Ospald a2373f2056
Improve bootstrap-haskell and fix shellcheck warnings 2022-03-18 18:24:50 +01:00
Julian Ospald 8f9faaa39e
Fix appending on profile file if there's no trailing newline
Fixes #333
2022-03-18 17:33:08 +01:00
Julian Ospald 0898244b2a
Preserve symlinks when sedding profile file
Fixes #332
2022-03-18 17:32:37 +01:00