nub
result in getInstalledCabals
This commit is contained in:
parent
d30d2ac8a5
commit
af811f3dbc
@ -245,7 +245,7 @@ getInstalledCabals = do
|
|||||||
Just (Left _) -> pure $ Left f
|
Just (Left _) -> pure $ Left f
|
||||||
Nothing -> pure $ Left f
|
Nothing -> pure $ Left f
|
||||||
cs <- cabalSet -- for legacy cabal
|
cs <- cabalSet -- for legacy cabal
|
||||||
pure $ maybe vs (\x -> Right x:vs) cs
|
pure $ maybe vs (\x -> nub $ Right x:vs) cs
|
||||||
|
|
||||||
|
|
||||||
-- | Whether the given cabal version is installed.
|
-- | Whether the given cabal version is installed.
|
||||||
|
Loading…
Reference in New Issue
Block a user