aboutsummaryrefslogtreecommitdiff
path: root/tests/Spec.hs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Spec.hs')
-rw-r--r--tests/Spec.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/Spec.hs b/tests/Spec.hs
index b1a0313..296702e 100644
--- a/tests/Spec.hs
+++ b/tests/Spec.hs
@@ -1,10 +1,11 @@
import Distribution.Helper
import System.Environment.Extra (lookupEnv)
import System.Posix.Env (setEnv)
+import System.Process
import Data.Maybe
import Data.Functor
main :: IO ()
main = do
flip (setEnv "HOME") True =<< fromMaybe "/tmp" <$> lookupEnv "TMPDIR"
- writeAutogenFiles "./dist"
+ writeAutogenFiles readProcess "." "./dist"