From 2a02742f9e0a6b9976ba07439566f4cfb8b2bc33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Gr=C3=B6ber?= Date: Sat, 28 Mar 2015 02:31:29 +0100 Subject: [PATCH] Write autogen file when calling `cabal configure` --- Language/Haskell/GhcMod/CabalHelper.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/Language/Haskell/GhcMod/CabalHelper.hs b/Language/Haskell/GhcMod/CabalHelper.hs index 74ad106..b1a716b 100644 --- a/Language/Haskell/GhcMod/CabalHelper.hs +++ b/Language/Haskell/GhcMod/CabalHelper.hs @@ -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