diff options
Diffstat (limited to 'src/CabalHelper')
-rw-r--r-- | src/CabalHelper/Compiletime/Program/GHC.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CabalHelper/Compiletime/Program/GHC.hs b/src/CabalHelper/Compiletime/Program/GHC.hs index 97b04ed..644c6ec 100644 --- a/src/CabalHelper/Compiletime/Program/GHC.hs +++ b/src/CabalHelper/Compiletime/Program/GHC.hs @@ -124,6 +124,7 @@ cabalVersionExistsInPkgDb cabalVer db@(PackageDbDir db_path) = do return $ case (cabalVer, vers) of (CabalVersion ver, _) -> ver `elem` vers + (CabalHEAD _, []) -> False (CabalHEAD _, [_headver]) -> True (CabalHEAD _, _) -> error $ msg ++ db_path) |