From f2cbe04d2f92fa81d7e445cb3b6973bd791c9bd3 Mon Sep 17 00:00:00 2001 From: Daniel Gröber Date: Fri, 5 Jun 2015 01:21:42 +0200 Subject: Fix #2 --- tests/Spec.hs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/Spec.hs b/tests/Spec.hs index 505b276..8665c61 100644 --- a/tests/Spec.hs +++ b/tests/Spec.hs @@ -1,4 +1,8 @@ import Distribution.Helper +import System.Environment +import Data.Maybe +main :: IO () main = do + setEnv "HOME" =<< fromMaybe "/tmp" <$> lookupEnv "TMPDIR" writeAutogenFiles "./dist" -- cgit v1.2.3