Commit b413a638 authored by Valentin Reis's avatar Valentin Reis

move TMPDIR statement

parent 5a2266b5
Pipeline #5763 passed with stage
in 21 seconds
......@@ -258,7 +258,6 @@ setupSystem sa = do
vshell "sudo rm -rf nixtmpdir" empty >>= \case
ExitSuccess -> printInfo "removed ./nixtmpdir"
ExitFailure n -> die ("Failed to remove ./nixtmpdir " <> repr n)
liftIO $ createAndSetTMPDIR "nixtmpdir"
doVerbose $ printInfo "running nix-build for the containers attribute."
doVerbose $ printCommand $ "nix-build " <> pack
(unwords (nixArguments "containers" sa))
......@@ -280,6 +279,7 @@ setupSystem sa = do
ExitSuccess -> return ()
ExitFailure n -> die ("Setting suid bit failed with exit code " <> repr n)
vshell "sudo /tmp/argo_nodeos_config --clean_config=kill_content:true" empty
liftIO $ createAndSetTMPDIR "nixtmpdir"
void $ printInfo "Done setting the environment for nix-build up."
where
vshell = verboseShell verbose
......
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