aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2019-05-05 16:16:47 +0200
committerDaniel Gröber <dxld@darkboxed.org>2019-05-05 16:16:47 +0200
commit5824410f0d50d41d55fecfa339780389adda185a (patch)
tree091b10915742450c92379d6d213fab28a823cce6
parent2458aae6cbe731baae2aea6057ec2bee1cd829f2 (diff)
Fix QueryEnv not being compatible with Ex
-rw-r--r--lib/Distribution/Helper.hs3
-rw-r--r--src/CabalHelper/Compiletime/Types.hs3
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/Distribution/Helper.hs b/lib/Distribution/Helper.hs
index 6e97d53..167db45 100644
--- a/lib/Distribution/Helper.hs
+++ b/lib/Distribution/Helper.hs
@@ -54,7 +54,8 @@ module Distribution.Helper (
, allUnits
-- * Query environment
- , QueryEnv -- abstract
+ , QueryEnv
+ , QueryEnvI -- abstract
, mkQueryEnv
, qeReadProcess
, qePrograms
diff --git a/src/CabalHelper/Compiletime/Types.hs b/src/CabalHelper/Compiletime/Types.hs
index cffa663..653497d 100644
--- a/src/CabalHelper/Compiletime/Types.hs
+++ b/src/CabalHelper/Compiletime/Types.hs
@@ -153,8 +153,7 @@ data Ex a = forall x. Ex (a x)
--
-- If you do not wish to use the built-in caching feel free to discard the
-- 'QueryEnv' value though.
-type QueryEnv (pt :: ProjType)
- = QueryEnvI QueryCache pt
+type QueryEnv = QueryEnvI QueryCache
data QueryEnvI c (pt :: ProjType) = QueryEnv
{ qeReadProcess :: !ReadProcessWithCwd