Add a `--force` option to `ghcup install <tool> --isolate`
- Change current behavior of cabal/stack/hls to non-overwriting
- Add
--force
option that omits overwriting check for both cabal/stack/hls and GHC
--force
option that omits overwriting check for both cabal/stack/hls and GHCadded typeimprovement label
yea, this looks like a good idea.
do we want this to work for just for isolates or any install command?
for eg:- can i --force
without isolate, where it will overwrite a normal install as well ?
do we want this to work for just for isolates or any install command?
We could implement that for regular install
as well, which would then have to invoke the tool removal beforehand. We do that already with ghcup compile ghc -b 8.10.5 -v 8.10.5
when 8.10.5 is already installed: https://gitlab.haskell.org/haskell/ghcup-hs/-/blob/608ee07940926cdb2a9cb12127c0ae9ef9c26748/lib/GHCup.hs#L1903
changed milestone to %0.1.16.3
I think this is better done in two parts:-
Makes the default isolate behavior non-overwriting first. (addressed with !149 (merged) )
Adds the --force option for both normal and isolated installs (addressed with !156 (merged) )
closed
This is all done right?
yes