diff options
author | Daniel Gröber <dxld@darkboxed.org> | 2015-10-30 20:10:21 +0100 |
---|---|---|
committer | Daniel Gröber <dxld@darkboxed.org> | 2015-10-30 20:10:21 +0100 |
commit | 78a7500c6809a7360722bac7fb57ad5548116d1c (patch) | |
tree | 43d3dde106c75010d06094730f1725a548f1856c /tests | |
parent | 103d5e6dabf8975c3903f62afd0418801778cd71 (diff) |
Fix older Cabal versions
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Spec.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Spec.hs b/tests/Spec.hs index 54d88df..6ac5d9c 100644 --- a/tests/Spec.hs +++ b/tests/Spec.hs @@ -16,9 +16,9 @@ import CabalHelper.Types main :: IO () main = do flip (setEnv "HOME") True =<< fromMaybe "/tmp" <$> lookupEnv "TMPDIR" - writeAutogenFiles readProcess "." "./dist" + rawSystem "cabal" ["update"] - _ <- system "cabal update" + writeAutogenFiles readProcess "." "./dist" let vers :: [(Version, [Version])] vers = map (parseVer *** map parseVer) [ |