Commit Graph

111 Commits

Author SHA1 Message Date
a264cb088e
Improve 'ghcup compile hls'
1. short hashes now work
2. print the long hash in addition to the detected cabal version of HLS
3. add `--git-describe-version` switch as an alternative to
   `--overwrite-version`

Fix 1. and 2. for GHC as well.
2022-07-06 22:49:11 +02: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
db4e411dfd
Fix darwin binaries after copying 2022-05-13 17:58:15 +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
991e540c11
Refactor code around isolateDirs, so we have proper knowledge 2022-05-11 16:18:35 +02:00
f8a1fed1f2
Fix parsing of symlinks with multiple slashes,
Fixes #353
2022-04-29 19:22:16 +08:00
c72841ca58
Implement 'ghcup run' 2022-02-09 18:57:59 +01:00
d110d20879
Fix HLS removal on windows 2022-02-06 22:25:23 +01:00
6073ebe476
Fix HLS support and compile errors with boot and TH files 2022-02-06 00:32:18 +01:00
684953464b
Silence hlint 2022-02-05 19:39:00 +01:00
6831337289
Refactoring and fixes 2022-02-05 19:11:56 +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
b16e561384
Allow unpacking legacy lzma archives, fixes #307 2022-01-28 22:48:23 +01:00
3a7ed5ee2d
Fix hlint warnings 2022-01-12 22:55:00 +01:00
James Hobson
3fd9fae66a
Changed to use IO Exceptions 2022-01-12 13:31:10 +01:00
James Hobson
f8548fefb3
Added support for quilt series files when patching 2022-01-12 10:01:48 +01:00
3f0befe30d
Fix ghcup whereis ghc for non-standard versions, fixes #289 2021-11-22 22:53:59 +01:00
a9630d0802
Cooler patching 2021-11-12 19:52:00 +01:00
626a2dd020
More debug logging 2021-11-12 01:01:21 +01:00
2c57def8f1
Fix parsing of atypical ghc versions 2021-11-02 01:22:06 +01:00
190b5dedba
Allow to control the metadata cache, fixes #278 2021-10-30 14:16:45 +02:00
9f8c9c228d
Reduce IS_WINDOWS CPP 2021-10-17 20:57:22 +02:00
c846e52acb
Cleanup during unpack failures as well 2021-10-10 20:48:33 +02:00
c19dd5ee8b
Implement ghcup gc command
Fixes #241
2021-09-25 22:29:02 +02:00
9497e310ca
Improve cli interface with partial versions
Fixes #243
2021-09-25 17:13:11 +02:00
aece305003
Move logger stuff to logger module 2021-09-23 12:53:01 +02:00
f90741f4d3
Implement compiling HLS from source 2021-09-19 22:04:32 +02:00
c431c0ae00
Implement GPG verification wrt #236 2021-09-18 21:51:19 +02:00
d3a36c2c9a
Merge remote-tracking branch 'origin/merge-requests/156' 2021-09-18 15:19:06 +02:00
ae2031174e
Improve warnAboutHlsCompatibility 2021-09-14 12:36:14 +02:00
Arjun Kathuria
7a6a119829 Patch for MonadLogger deletion since new rebase 2021-09-07 14:21:24 +05:30
787c927de6
Improve logging, fixes #228 2021-09-06 23:01:49 +02:00
db8207f8b9
Fixup 2021-09-04 16:06:33 +02:00
d2346a543a
Fixup 2021-09-04 15:53:29 +02:00
9bdf6bde17
Only consider .diff/.patch for patch files wrt #226 2021-09-04 14:25:24 +02:00
bc80b1048f
Fix debug logs 2021-09-03 21:00:39 +02:00
13143b8e4d
Drop monad-logger 2021-08-30 23:36:11 +02:00
a269b60282
Remove extra 2021-08-29 22:37:16 +02:00
430dc2d20b
Remove zip dependency 2021-08-29 20:56:17 +02:00
14fc6b7281
Remove string-interpolate wrt #212 2021-08-25 18:54:58 +02:00
f8cfcd4038
Get rid of tar 2021-08-25 11:48:30 +02:00
d3e3ebd63f
Merge branch 'fix-ghcToolFiles' 2021-07-26 21:25:00 +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
a4a7f73fb7
Allow to use Hadrian as build system, fixes #35 2021-07-20 23:51:31 +02:00
4ed72fb517
Preserve mtimes on unpacked GHC tarballs on windows wrt #187 2021-07-19 23:33:01 +02:00