diff options
author | Daniel Gröber <dxld@darkboxed.org> | 2018-08-12 04:45:34 +0200 |
---|---|---|
committer | Daniel Gröber <dxld@darkboxed.org> | 2018-08-12 16:27:35 +0200 |
commit | 9142d8a9e6ed18faf17a360521fbbbd25f6a3b47 (patch) | |
tree | 0023192ff46a466223471b14dc3229539d52f752 /lib/Distribution/Helper.hs | |
parent | 8f91a24d6e0c369711de9739fcf5bf34a6dbbaac (diff) |
Add initial new-build (v2-build) support to wrapper
Diffstat (limited to 'lib/Distribution/Helper.hs')
-rw-r--r-- | lib/Distribution/Helper.hs | 2 |
1 files changed, 1 insertions, 1 deletions
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 |