diff options
author | Daniel Gröber <dxld@darkboxed.org> | 2019-07-30 02:16:19 +0200 |
---|---|---|
committer | Daniel Gröber (dxld) <dxld@darkboxed.org> | 2019-09-17 17:48:26 +0200 |
commit | 8c9361e4ba6e2257f2bd9d354a56005318477ed6 (patch) | |
tree | dc62b3396268a11550669aa7f43933ca4e4899b7 /tests/GhcSession.hs | |
parent | 1b05d896884a8c02306f73f82658e7c6f3825fff (diff) |
Support cabal-file not being in pkgdir with cabal-v1
Diffstat (limited to 'tests/GhcSession.hs')
-rw-r--r-- | tests/GhcSession.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/GhcSession.hs b/tests/GhcSession.hs index db06c87..871fddd 100644 --- a/tests/GhcSession.hs +++ b/tests/GhcSession.hs @@ -421,7 +421,7 @@ oldBuildProjSetup :: ProjSetup0 oldBuildProjSetup = ProjSetupDescr "cabal-v1" $ Right $ Ex $ ProjSetupImpl { psiProjType = SV1 , psiDistDir = \dir -> DistDirV1 (dir </> "dist") - , psiProjLoc = \(CabalFile cf) _projdir -> ProjLocV1CabalFile cf + , psiProjLoc = \(CabalFile cf) projdir -> ProjLocV1CabalFile cf projdir , psiConfigure = \progs dir -> runWithCwd dir (cabalProgram progs) [ "configure" ] , psiBuild = \progs dir -> |