diff options
author | Maxim Ivanov <ulidtko@gmail.com> | 2018-04-13 17:25:19 +0300 |
---|---|---|
committer | Daniel Gröber <dxld@darkboxed.org> | 2018-04-13 16:25:19 +0200 |
commit | c38f44a57d8f516a8010bd753475187ac1c01f95 (patch) | |
tree | addfff1ddc89232403ba3742a34a676cd984e361 /src/CabalHelper | |
parent | ae568d1008e2dc9980cef86e8a18c7dfaf25fc8d (diff) |
Use componentOutDir with all Cabal versions to fix cabal-preprocessors test (#49)
Diffstat (limited to 'src/CabalHelper')
-rw-r--r-- | src/CabalHelper/Runtime/Main.hs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/CabalHelper/Runtime/Main.hs b/src/CabalHelper/Runtime/Main.hs index f46b1d8..787e2ac 100644 --- a/src/CabalHelper/Runtime/Main.hs +++ b/src/CabalHelper/Runtime/Main.hs @@ -514,11 +514,7 @@ componentOptions' (lbi, v, distdir) inplaceFlag flags rf f = do componentsMap lbi v distdir $ \c clbi bi -> let -#if CH_MIN_VERSION_Cabal(2,0,0) - outdir = componentBuildDir lbi clbi -#else outdir = componentOutDir lbi c -#endif (clbi', adopts) = case flags of _ | not inplaceFlag -> (clbi, mempty) ["--with-inplace"] -> (clbi, mempty) |