From 9142d8a9e6ed18faf17a360521fbbbd25f6a3b47 Mon Sep 17 00:00:00 2001 From: Daniel Gröber Date: Sun, 12 Aug 2018 04:45:34 +0200 Subject: Add initial new-build (v2-build) support to wrapper --- lib/Distribution/Helper.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Distribution') diff --git a/lib/Distribution/Helper.hs b/lib/Distribution/Helper.hs index 1a5740b..a2fd131 100644 --- a/lib/Distribution/Helper.hs +++ b/lib/Distribution/Helper.hs @@ -369,7 +369,7 @@ invokeHelper QueryEnv {..} args = do , "--with-cabal=" ++ cabalProgram qePrograms ] exe <- findLibexecExe - let args' = progArgs ++ qeProjectDir:qeDistDir:args + let args' = progArgs ++ "v1-style":qeProjectDir:qeDistDir:args out <- qeReadProcess exe args' "" (Right <$> evaluate out) `E.catch` \(SomeException _) -> return $ Left $ concat -- cgit v1.2.3