Dependent Haskell: the TharkunAB GHC 10.1 fork with -XDependentTypes, dependent-base and its proof plugins.
git clone git@nixlab.openfp.net:package-sets/haskell/horizon-dependent.gitdiff --git a/test/Main.hs b/test/Main.hs
index 6f440dd..8ccfc8e 100644
--- a/test/Main.hs
+++ b/test/Main.hs
@@ -51,7 +51,9 @@ discoverTestCompiler = do
pkgDbFlags <-
case mbBuildRoot of
Just root -> findPackageDbs exePath root
- Nothing -> pure ["-plugin-package", "dependent-proof-search"]
+ Nothing -> do
+ inplace <- doesDirectoryExist "dist/package.conf.inplace"
+ pure (["-package-db=dist/package.conf.inplace" | inplace] ++ ["-plugin-package", "dependent-proof-search"])
pure TestCompiler{tcGhc = ghcBin, tcPkgDbFlags = pkgDbFlags}
-- | Discover the host @ghc@ binary on Linux from the linked @libHSbase@/@libHSrts@ path.