Commit Graph

47 Commits

Author SHA1 Message Date
96f7aa5c62
Allow to set ghcup msys2 environment
Fixes #982
2024-02-18 16:22:20 +08:00
2e5dee8e1a
Add mechanism to warn on new metadata versions, fixes #860 2023-11-13 16:53:24 +08:00
c28de19faa
Fix GC with XDG dirs, fixes #810 2023-03-18 22:04:37 +08:00
d628848af6
Silence hlint 2023-02-23 23:15:08 +08:00
b547324253
Smarter variants for 'listDirectory', fixing #797 2023-02-23 21:47:50 +08:00
d5a680e3c6
Don't clean up tmp dirs when --keep=always 2023-01-02 20:38:26 +08:00
2845425099
Restructure modules 2022-05-22 21:11:40 +02:00
df89ddcdf5
Use internal tmpdir 2022-05-20 23:19:33 +02:00
55fdc41137
WIP 2022-05-16 11:29:55 +02:00
c9790e5823
Use strongly types GHCupPath and restrict destructive operations 2022-05-13 21:35:34 +02:00
48aee1e76c
[WIP] Prototype of recording installed files
This also installs makefile based build system via DESTDIR
into a temporary directory and then merges it into the filesystem.
2022-05-13 00:46:47 +02:00
cfe6c47cd7
Fix max path issues on windows with 'ghcup run' 2022-03-18 17:47:49 +01:00
e40777a5d3
Resolve paths when using XDG dirs, fixes #311 2022-02-05 16:48:20 +01:00
51690d1df3
Support HLS dynamic builds 2022-02-05 16:33:05 +01:00
4574f3aa4f
Switch to yaml-streamly 2021-10-21 23:39:07 +02:00
9f8c9c228d
Reduce IS_WINDOWS CPP 2021-10-17 20:57:22 +02:00
aece305003
Move logger stuff to logger module 2021-09-23 12:53:01 +02:00
d98e54a743
Drop yaml/libyaml 2021-08-30 23:36:11 +02:00
13143b8e4d
Drop monad-logger 2021-08-30 23:36:11 +02:00
14fc6b7281
Remove string-interpolate wrt #212 2021-08-25 18:54:58 +02:00
3bdc82c99b
Redo file handling wrt #165 and #187 2021-07-22 17:44:03 +02:00
1c2cf98850
Fix file/dir removal on windows, fixes #165 2021-07-21 20:50:58 +02:00
4ed72fb517
Preserve mtimes on unpacked GHC tarballs on windows wrt #187 2021-07-19 23:33:01 +02:00
2c7176d998
Use LabelOptic and add LeanAppState
Wrt #186
2021-07-18 14:39:49 +02:00
Arjun Kathuria
9515065407 adds conditional export of useXDG in non-windows OS-es. fix in rmGhcupDirs code that used useXDG 2021-06-24 22:48:38 +05:30
Arjun Kathuria
2e3dceecf8 abstracts out getting ghcup conf file path 2021-06-23 10:08:06 +05:30
27510b3b51
Allow setting GHCUP_INSTALL_BASE_PREFIX on windows 2021-06-08 18:08:06 +02:00
2f62067d96
Windows support 2021-06-05 21:01:01 +02:00
1e9ee260e7
Raise minSpace to 5GB 2021-04-25 21:32:58 +02:00
0b7d447aaf
Satisfy hlint 2021-04-25 18:00:32 +02:00
7d13836fea
Warn when /tmp doesn't have 2500 or more of disk space 2021-04-25 17:25:40 +02:00
0c6699c3c6
Allow to check ghcup binaries in validate-tarballs 2021-04-11 22:15:43 +02:00
d5b5f1fddd
Chores 2021-03-24 17:56:57 +01:00
8c87c9aeb7
Fix error messages and overhaul pretty printing
Fixes #115
2021-03-02 10:35:31 +01:00
Huw campbell
453a29fdf7 Respect the user's configuration settings
Only lookup user configuration before doing a search; implement version completion for Cabal and HLS removal
2021-02-25 16:31:40 +11:00
4fef93b7b1
Allow to configure ghcup with a yaml config file
Fixes #41
2020-10-25 10:22:45 +01:00
e250d6013f
Redo Settings as AppState 2020-10-24 01:07:31 +02:00
5c45884f5f
Allow to specify regex for subdir 2020-08-10 22:27:50 +02:00
7163b77837
Only query directories once 2020-08-10 21:51:31 +02:00
b9d7d7d007
Fix licences in module haddock 2020-08-10 21:51:29 +02:00
aac8f760ad
Add xdg support wrt #39 2020-08-10 21:51:19 +02:00
826900cc41
Improve documentation 2020-07-22 01:08:58 +02:00
f46700e1cc
First cross try 2020-04-29 20:19:01 +02:00
ad4d185ead
Fix GHCUP_INSTALL_BASE_PREFIX
This should be the *parent* dir of '.ghcup', not
the full destination.
2020-04-15 13:55:32 +02:00
0963081fd8 Use OverloadedStrings instead of TH 2020-03-21 22:19:37 +01:00
951a7173ae Remove unnecessary type annotations 2020-03-16 10:47:09 +01:00
a93aaf9a5f Initial commit 2020-03-09 00:44:11 +01:00