summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvmchale <>2018-07-10 11:52:00 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2018-07-10 11:52:00 (GMT)
commit979deb39819b028876f73c860eee8d0bb1c95b58 (patch)
treea3bee8810b1994dad4038d0e04336396df98e708
parent6c8c97e0f059ac7b452863d69e770ba1c764c4a6 (diff)
version 1.9.0.21.9.0.2
-rw-r--r--shake-ats.cabal4
-rw-r--r--src/Development/Shake/ATS/Environment.hs4
2 files changed, 4 insertions, 4 deletions
diff --git a/shake-ats.cabal b/shake-ats.cabal
index 7bfad71..54df3b5 100644
--- a/shake-ats.cabal
+++ b/shake-ats.cabal
@@ -1,6 +1,6 @@
cabal-version: 1.18
name: shake-ats
-version: 1.9.0.1
+version: 1.9.0.2
license: BSD3
license-file: LICENSE
copyright: Copyright: (c) 2018 Vanessa McHale
@@ -49,7 +49,7 @@ library
shake >=0.14,
binary -any,
shake-cabal -any,
- shake-c -any
+ shake-c >=0.4.0.0
if flag(development)
ghc-options: -Werror
diff --git a/src/Development/Shake/ATS/Environment.hs b/src/Development/Shake/ATS/Environment.hs
index c94538d..4ff7698 100644
--- a/src/Development/Shake/ATS/Environment.hs
+++ b/src/Development/Shake/ATS/Environment.hs
@@ -13,8 +13,8 @@ import System.Environment (getEnv)
-- installed artifacts. This is used to keep libraries built for different
-- platforms separate.
ccToDir :: CCompiler -> String
-ccToDir (GCC (Just s)) = reverse (drop 1 $ reverse s) ++ [pathSeparator]
-ccToDir _ = ""
+ccToDir (GCC (Just s) _) = reverse (drop 1 $ reverse s) ++ [pathSeparator]
+ccToDir _ = ""
-- | The directory @~/.atspkg@
pkgHome :: MonadIO m => CCompiler -> m String