aboutsummaryrefslogtreecommitdiff
path: root/lib/Distribution/Helper/Discover.hs
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2019-08-21 03:42:27 +0200
committerDaniel Gröber (dxld) <dxld@darkboxed.org>2019-09-17 17:48:26 +0200
commit39290777e40636700a6a2d7906bacb506d8600b1 (patch)
tree20b00698650dbc3fd480f062a725c8444efec8f0 /lib/Distribution/Helper/Discover.hs
parentaa09ba5d1be03b92c1b19d486dad26ed624689a1 (diff)
Fix some warnings
Diffstat (limited to 'lib/Distribution/Helper/Discover.hs')
-rw-r--r--lib/Distribution/Helper/Discover.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Distribution/Helper/Discover.hs b/lib/Distribution/Helper/Discover.hs
index 93346f5..07eb7fc 100644
--- a/lib/Distribution/Helper/Discover.hs
+++ b/lib/Distribution/Helper/Discover.hs
@@ -74,7 +74,7 @@ getDefaultDistDir (ProjLocV1CabalFile _cabal_file pkgdir) =
DistDirCabal SCV1 $ pkgdir </> "dist"
getDefaultDistDir (ProjLocV1Dir pkgdir) =
DistDirCabal SCV1 $ pkgdir </> "dist"
-getDefaultDistDir (ProjLocV2File cabal_project projdir) =
+getDefaultDistDir (ProjLocV2File _cabal_project projdir) =
DistDirCabal SCV2 $ projdir </> "dist-newstyle"
getDefaultDistDir (ProjLocV2Dir projdir) =
DistDirCabal SCV2 $ projdir </> "dist-newstyle"