aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2017-09-18 01:33:59 +0200
committerDaniel Gröber <dxld@darkboxed.org>2017-09-18 01:41:49 +0200
commit2a2c305c395cffbee8bfa84fdc372466a0ea257f (patch)
treeb0d5fecfae5ff03e9c94fb55c2b877f8e5dbe97a
parentf864a5eae8262752162c6b0d124aea4601ed9ac1 (diff)
Use 'extra' for 'lookupEnv'
-rw-r--r--CabalHelper/Compiletime/Data.hs2
-rw-r--r--cabal-helper.cabal3
2 files changed, 3 insertions, 2 deletions
diff --git a/CabalHelper/Compiletime/Data.hs b/CabalHelper/Compiletime/Data.hs
index f04c704..288094e 100644
--- a/CabalHelper/Compiletime/Data.hs
+++ b/CabalHelper/Compiletime/Data.hs
@@ -27,7 +27,7 @@ import qualified Data.ByteString as BS
import qualified Data.ByteString.UTF8 as UTF8
import Language.Haskell.TH
import System.Directory
-import System.Environment
+import System.Environment.Extra
import System.FilePath
import System.IO.Temp
import Prelude
diff --git a/cabal-helper.cabal b/cabal-helper.cabal
index 64438c4..6b95b29 100644
--- a/cabal-helper.cabal
+++ b/cabal-helper.cabal
@@ -100,6 +100,7 @@ executable cabal-helper-wrapper
, temporary < 1.3 && >= 1.2.0.4
, utf8-string < 1.1 && >= 1.0.1.1
, time < 1.9 && >= 1.8.0.3
+ , extra < 1.6 && >= 1.4.10
, template-haskell
, ghc-prim
@@ -134,9 +135,9 @@ test-suite compile-test
, temporary < 1.3 && >= 1.2.0.4
, utf8-string < 1.1 && >= 1.0.1.1
, time < 1.9 && >= 1.8.0.3
+ , extra < 1.6 && >= 1.4.10
-- additional test deps
- , extra < 1.6 && >= 1.4.10
, unix < 2.8 && >= 2.5.1.0
, template-haskell