From 78a7500c6809a7360722bac7fb57ad5548116d1c Mon Sep 17 00:00:00 2001 From: Daniel Gröber Date: Fri, 30 Oct 2015 20:10:21 +0100 Subject: Fix older Cabal versions --- tests/Spec.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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) [ -- cgit v1.2.3