aboutsummaryrefslogtreecommitdiff
path: root/lib/Distribution
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2018-08-12 04:45:34 +0200
committerDaniel Gröber <dxld@darkboxed.org>2018-08-12 16:27:35 +0200
commit9142d8a9e6ed18faf17a360521fbbbd25f6a3b47 (patch)
tree0023192ff46a466223471b14dc3229539d52f752 /lib/Distribution
parent8f91a24d6e0c369711de9739fcf5bf34a6dbbaac (diff)
Add initial new-build (v2-build) support to wrapper
Diffstat (limited to 'lib/Distribution')
-rw-r--r--lib/Distribution/Helper.hs2
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