Allow reinstalling packages
UnkindPartition opened this issue · comments
register
throws an error if the package is already installed.
So, we should either use update
instead of register
, or ensure that ids are unique.
How does GHC do it?
Cabal actually calls update
rather than register
for GHC (see reregisterInvocation
in Cabal source).
And register
isn't used anywhere, so we don't need in haskell-packages either.