Skip to content
Snippets Groups Projects
Commit e7e5c5cf authored by Ben Gamari's avatar Ben Gamari :turtle:
Browse files

ci: Set --store-dir explicitly

To ensure we aren't affected by the environment
parent c3ba61ec
No related branches found
No related tags found
No related merge requests found
......@@ -254,9 +254,10 @@ buildPackage cfg pname version = do
(makeTestCabalFile cfg pname version)
-- run the build
absDirName <- makeAbsolute "./store"
code <- runProcess $ setWorkingDir dirName
$ proc "cabal"
$ ["v2-build"] ++ cabalOptions cfg
$ ["--store-dir="++absDirName, "v2-build"] ++ cabalOptions cfg
-- figure out what happened
let planPath = dirName </> "dist-newstyle" </> "cache" </> "plan.json"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment