Commit 4ed4e791 authored by Valentin Reis's avatar Valentin Reis

tmpdir test.

parent a37af9b9
Pipeline #5743 passed with stage
in 1 minute and 41 seconds
......@@ -8,7 +8,8 @@ Module : Main
Description : argonix
Copyright : (c) Valentin Reis, 2018
License : MIT
Maintainer : fre@freux.fr -}
Maintainer : fre@freux.fr
-}
module Main where
......@@ -257,7 +258,7 @@ setupSystem sa = do
vshell "sudo rm -rf nixtmpdir" empty >>= \case
ExitSuccess -> printInfo "removed ./result"
ExitFailure n -> die ("Failed to remove ./result " <> repr n)
liftIO $ createAndSetTMPDIR "./nixtmpdir"
liftIO $ createAndSetTMPDIR "./TMPDIR"
doVerbose $ printInfo "running nix-build for the containers attribute."
doVerbose $ printCommand $ "nix-build " <> pack
(unwords (nixArguments "containers" sa))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment