Chris Smith
737f72f90f
Lint fix.
2021-09-11 23:35:39 -04:00
Chris Smith
c3aab65521
Rewording
2021-09-11 23:24:21 -04:00
Chris Smith
972474f79a
Add version numbers to error message.
...
Fixes after formatting changes.
2021-09-11 23:17:14 -04:00
bc64d2ade0
Apply 3 suggestion(s) to 1 file(s)
2021-09-12 03:09:36 +00:00
Chris Smith
eddda55fe6
Fix hlint warnings
2021-09-11 19:57:42 -04:00
Chris Smith
13aca91231
Add a warning when the installed HLS and GHC versions are not compatible.
...
This is triggered when:
1. The user has just set either the GHC or HLS version.
2. There is an HLS version set (so some GHC version is compatible).
3. There is a GHC version.
4. The HLS version doesn't support that GHC version.
Fixes #234
2021-09-11 19:33:27 -04:00
d2346a543a
Fixup
2021-09-04 15:53:29 +02:00
c54dc05d92
Read build.mk from files at build time
2021-09-04 15:09:14 +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
e38bd61066
Fixup merge
2021-08-26 20:16:40 +02:00
b086261c3c
Merge remote-tracking branch 'origin/merge-requests/149'
2021-08-26 20:12:19 +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
Arjun Kathuria
df758d828b
swap checkFileAlreadyExists with throwIfFileAlreadyExists
2021-08-24 20:39:07 +05:30
bfc50e269c
Show a warning if xattr can't be executed
2021-08-24 15:34:35 +02:00
Arjun Kathuria
8c486e8d46
Make GHCup isolate installs non-overwriting by default
2021-08-23 20:18:45 +05:30
e9fdc073c6
Fix --flavor
2021-08-11 16:19:52 +02:00
3b24f503d1
Fixup rest of the PR
2021-08-11 13:54:02 +02:00
bd18fd9aa1
Merge remote-tracking branch 'origin/merge-requests/127'
2021-08-11 12:28:48 +02:00
Arjun Kathuria
c2c5625685
implements checking if file already exists for Cabal installs
2021-08-11 10:33:08 +05:30
Arjun Kathuria
dcfb3afdad
Revert "implements isolated install sanity-checking for Cabal installs"
...
This reverts commit 300cfd3ba6
.
2021-08-11 09:46:42 +05:30
Arjun Kathuria
300cfd3ba6
implements isolated install sanity-checking for Cabal installs
2021-08-10 20:14:46 +05:30
Arjun Kathuria
bb430fa0b7
Adds the sanity check function for isolated installs
2021-08-10 20:12:14 +05:30
Arjun Kathuria
d1735bc446
adds toolchainSanityChecks for isolated installs too in installGHCBindist
function.
2021-08-10 19:53:41 +05:30
dbf1d6f420
Fix unneeded dist files being installed along with GHC
2021-08-10 15:58:40 +02:00
Arjun Kathuria
2c6d0382cf
adds isolate install feature to compiled ghc command
2021-08-04 16:08:12 +05:30
Arjun Kathuria
e1bec789b0
updates Bindist functions as per https://gitlab.haskell.org/haskell/ghcup-hs/-/merge_requests/127#note_366702
2021-08-03 18:08:54 +05:30
Arjun Kathuria
5683493cae
rename some auxiliary functions to their "unpacked" versions
2021-08-03 18:08:54 +05:30
Arjun Kathuria
ae5e213b59
deletes installStackBinIsolated
function
2021-08-03 18:08:54 +05:30
Arjun Kathuria
911089f334
updates usages of new installStackBin
across files
2021-08-03 18:08:54 +05:30
Arjun Kathuria
6b89646c1e
update installStackBindist
to take a "Maybe FilePath" argument for isolated installs
2021-08-03 18:08:54 +05:30
Arjun Kathuria
960d5ce79f
deletes installHLSBinIsolated
function
2021-08-03 18:08:54 +05:30
Arjun Kathuria
90ed0895d6
updates usages of installHLSBin
across files
2021-08-03 18:08:54 +05:30
Arjun Kathuria
7471f4f4dc
update installHLSBindist
to take a "Maybe FilePath" argument for isolated installs
2021-08-03 18:08:54 +05:30
Arjun Kathuria
781cf8eed5
Delete installCabalBinIsolated function.
2021-08-03 18:08:54 +05:30
Arjun Kathuria
236da31af6
updates usages of new installCabalBindist
across files.
2021-08-03 18:08:54 +05:30
Arjun Kathuria
1f760af880
update installCabalBindist
to take a "Maybe FilePath" argument for isolated installs
2021-08-03 18:08:54 +05:30
Arjun Kathuria
62d03b776b
remove installGHCBinIsolated function.
2021-08-03 18:08:54 +05:30
Arjun Kathuria
37ea18a0d8
updates usages of new installGHCBindist and related installGHCBin
2021-08-03 18:08:54 +05:30
Arjun Kathuria
083dc59a8f
update installGhcBindist
to take a "Maybe FilePath" to work with isolated installs
2021-08-03 18:08:54 +05:30
Arjun Kathuria
a45d069cad
Adds a log to notify where the isolated ghc is being installed by the tool
2021-08-03 18:08:54 +05:30
Arjun Kathuria
fdbcd4fafd
Adds isolated installs to Stack install
2021-08-03 18:08:54 +05:30
Arjun Kathuria
f3c1c925ed
updates installStack' usage in installStackBindist
function
2021-08-03 18:08:54 +05:30
Arjun Kathuria
8f6a7ba39c
factor out installStack' function
2021-08-03 18:08:54 +05:30
Arjun Kathuria
f212eb4570
Adds isolated install to HLS installs
2021-08-03 18:08:54 +05:30
Arjun Kathuria
0d118e2fe1
update installHLS' usage in installHLSBindist
2021-08-03 18:08:54 +05:30
Arjun Kathuria
c0f46ef81f
Factor out installHLS'
2021-08-03 18:08:54 +05:30
Arjun Kathuria
476513b0a7
Adds isolate install functionality to 'Cabal' tool installs
2021-08-03 18:08:54 +05:30
Arjun Kathuria
9a511669a8
use the new factored out installCabal' in installCabalBindist
function
2021-08-03 18:08:54 +05:30