diff options
author | Daniel Gröber <dxld@darkboxed.org> | 2015-06-05 01:21:42 +0200 |
---|---|---|
committer | Daniel Gröber <dxld@darkboxed.org> | 2015-06-05 22:53:17 +0200 |
commit | f2cbe04d2f92fa81d7e445cb3b6973bd791c9bd3 (patch) | |
tree | e8bfb508d8a099dacc3ad25368747b6cd834f2dd | |
parent | 7070c19a97b90460dc8dbf4c1f5d677650af4289 (diff) |
Fix #2
-rw-r--r-- | tests/Spec.hs | 4 |
1 files changed, 4 insertions, 0 deletions
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" |