Write autogen file when calling cabal configure

This commit is contained in:
Daniel Gröber 2015-03-28 02:31:29 +01:00
parent 7019cbcfa1
commit 2a02742f9e

View File

@ -101,4 +101,5 @@ withCabal action = do
then [ "--with-ghc-pkg=" ++ T.ghcPkgProgram opts ]
else []
void $ readProcess (T.cabalProgram opts) ("configure":progOpts) ""
writeAutogenFiles $ cradleRootDir crdl </> "dist"
action