Commit Graph

578 Commits

Author SHA1 Message Date
5eaae9916d
Allow to remove all unset versions, fixes #1019 2024-03-11 17:42:26 +08:00
aef10a699e
Add viPreInstall wrt #1016 2024-03-02 17:44:40 +08:00
4314146247
Merge remote-tracking branch 'origin/issue-1004' 2024-03-01 22:15:13 +08:00
4831798c9e
Merge branch 'issue-982' 2024-02-21 16:50:24 +08:00
3ad785c116
Refreeze, update stack.yaml, etc. 2024-02-21 15:32:35 +08:00
be3db87410
Clean up on error, fixes #1004 2024-02-18 20:07:12 +08:00
bdd15ad6e7
Beef up --overwrite-version, fixes #998 2024-02-18 19:52:01 +08:00
96f7aa5c62
Allow to set ghcup msys2 environment
Fixes #982
2024-02-18 16:22:20 +08:00
4b3ffd8570
Use file-uri for better URI handling, fixes #978 2024-01-20 18:23:08 +08:00
950155cbe3
Fix hlint 2024-01-20 17:50:40 +08:00
dd978ff2fd
Merge branch 'issue-967' 2024-01-20 17:48:51 +08:00
2a12362e75
Merge branch 'issue-408' 2024-01-20 17:40:21 +08:00
b837a93176
Merge remote-tracking branch 'origin/pr/943' 2024-01-20 16:59:53 +08:00
6ae312c1f9
Merge remote-tracking branch 'origin/tar' 2024-01-20 16:55:46 +08:00
Rune K. Svendsen
6fec9d4737 Quote version in Pretty NotInstalled instance 2024-01-11 11:42:56 +01:00
Rune K. Svendsen
856e48aa14 Make HLint happy 2024-01-09 10:26:46 +01:00
Rune K. Svendsen
2cafd9d2bc Fix redundant import warning 2024-01-09 10:22:51 +01:00
Rune K. Svendsen
87ec8c756f Move ArchiveResult into GHCup.Utils.Tar.Types
So a module that wants to import ArchiveResult doesn't have to worry about CPP.
2024-01-09 10:19:58 +01:00
2ece023c0f
Fix coding suggestions 2024-01-07 22:03:06 +08:00
16e20ed474
Set LD=ld.bfd on Alpine linux during bindist configure 2024-01-04 20:53:21 +08:00
afd7e7dc4f
Re-introduce tar 2024-01-03 17:56:33 +08:00
d46bdbf959
Fix misinterpretation of '+' in URI paths, fixes #408 2024-01-03 00:42:01 +08:00
Rune K. Svendsen
dfe213824f Improve NoDownload Pretty instance on missing/unknown "mtarget"
The guard was only used for the "Perhaps you meant"-part, so include the other part regardless of what `mtarget` is.
2023-12-30 14:13:16 +01:00
Yuto Tanaka
9d7f99bd00 Fix many typos 2023-11-30 18:12:46 +09:00
2caf491e9d
Remove the "show all tool" config
We show all tools at the moment anyway.
2023-11-18 18:55:06 +08:00
d277e56121
Improve logging by dropping trailing newline 2023-11-18 13:09:19 +08:00
335099ad19
Add rocky/void detection 2023-11-17 17:03:10 +08:00
2e5dee8e1a
Add mechanism to warn on new metadata versions, fixes #860 2023-11-13 16:53:24 +08:00
c6aa5c3ed7
Don't remove share dir link prematurely 2023-11-13 16:00:48 +08:00
d6601b0353
Remove globalTools from metadata 2023-11-13 15:39:58 +08:00
e5a7a2da70
Fix prefetch for cross bindists 2023-11-12 18:21:49 +08:00
6a86e9e77e
Fix failure mode when metadata is garbage, fixes #921 2023-11-12 17:11:33 +08:00
9d223730de
Error out on empty UserSettings wrt #922 2023-11-12 16:49:06 +08:00
ad9199568b
Don't download twice when trying stack decoding 2023-11-12 16:24:39 +08:00
0d91c2ac14
Make install error more visible 2023-11-12 15:59:15 +08:00
a7be1e7068
Merge branch 'brick-windows' 2023-11-10 19:32:20 +08:00
Tom Smeding
bba92baeb1 Fix typo in ToolShadowed error for stack 2023-11-09 13:41:21 +01:00
9fcacbd96b
Fix CPP defines for windows+brick 2023-11-05 22:22:53 +08:00
c7439d3c89
Improve stack metadata support wrt #892 2023-10-25 14:00:01 +08:00
38cd5ad8ed
Merge branch 'improved-key-brick' 2023-10-24 15:00:31 +08:00
452ca8cca2
Improve key handling in TUI, fixes #875 2023-10-23 22:47:17 +08:00
5f73320b29
Support stacks installation strategy and metadata wrt #892 2023-10-23 22:46:43 +08:00
0adb602a96
Improve distro code 2023-10-23 21:42:29 +08:00
e90ca97441
Fix property tests 2023-10-21 19:23:25 +08:00
Colin Woodbury
eae197ccb3
chore: bump versions upper bound and squash warnings 2023-10-21 19:23:25 +08:00
Colin Woodbury
15c6ed2b8d
refactor: upgrade versions library usage 2023-10-21 19:23:25 +08:00
fbb648d984
Improve logging on broken symlinks wrt #880 2023-10-21 19:23:25 +08:00
Romain Ruetschi
c914a284de
Use absolute path to /usr/bin/xattr instead of pulling whatever is in PATH
On macOS systems with Homebrew installed, the latter will install its
own copy of `xattr` in `/opt/homebrew/bin/xattr` which will often
take precedence over the system `xattr` at `/usr/bin/xattr`, and does
not support the `-r` flag to act recursively over a directory.

This commit changes the invocation of `xattr` to use the absolute path
to the system version of `xattr` at `/usr/bin/xattr`.
2023-10-21 19:23:25 +08:00
9a17eaa32a
Bump metadata version since we added new distros 2023-10-21 19:23:24 +08:00
480d6be02f
Add explicit support for Void Linux, fixes #378 2023-10-21 19:23:24 +08:00