diff --git a/Distribution/Gentoo/GHC.hs b/Distribution/Gentoo/GHC.hs
--- a/Distribution/Gentoo/GHC.hs
+++ b/Distribution/Gentoo/GHC.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 {- |
    Module      : Distribution.Gentoo.GHC
    Description : Find GHC-related breakages on Gentoo.
@@ -47,7 +48,15 @@
 rawSysStdOutLine app = liftM (head . lines) . rawCommand app
 
 rawCommand          :: FilePath -> [String] -> IO String
-rawCommand cmd args = do (out,_,_) <- rawSystemStdInOut silent cmd args Nothing False
+rawCommand cmd args = do (out,_,_) <- rawSystemStdInOut silent  -- verbosity
+                                                        cmd     -- program loc
+                                                        args    -- args
+#if MIN_VERSION_Cabal(1,18,0)
+                                                        Nothing -- cabal-1.18+: new working dir
+                                                        Nothing -- cabal-1.18+: new environment
+#endif /* MIN_VERSION_Cabal(1,18,0) */
+                                                        Nothing -- input text and binary mode
+                                                        False   -- is output in binary mode
                          return out
 
 -- Get the first line of output from calling GHC with the given
diff --git a/haskell-updater.cabal b/haskell-updater.cabal
--- a/haskell-updater.cabal
+++ b/haskell-updater.cabal
@@ -1,6 +1,6 @@
 Name:                haskell-updater
 Homepage:            http://haskell.org/haskellwiki/Gentoo#haskell-updater
-Version:             1.2.0.10
+Version:             1.2.0.11
 Synopsis:            Rebuild Haskell dependencies in Gentoo
 Description:         haskell-updater rebuilds Haskell packages on Gentoo
                      after a GHC upgrade or a dependency upgrade.
@@ -11,7 +11,8 @@
 
                      This version is for: GHC-6.12 + Cabal-1.8,
                      GHC-7.0 + Cabal-1.10, GHC-7.2 + Cabal-1.12,
-                     GHC-7.4 + Cabal-1.14, GHC-7.6 + Cabal-1.16.
+                     GHC-7.4 + Cabal-1.14, GHC-7.6 + Cabal-1.16,
+                     GHC-7.6 + Cabal-1.18.
 Category:            Distribution
 License:             GPL
 License-file:        COPYRIGHT
@@ -45,7 +46,7 @@
     Ghc-Prof-Options:   -auto-all
 
     Build-Depends:      base == 4.*,
-                        Cabal >= 1.8 && < 1.17,
+                        Cabal >= 1.8 && < 1.19,
                         containers < 0.6,
                         filepath   < 1.4,
                         directory  < 1.3,
