Commit 4261e27d authored by Valentin Reis's avatar Valentin Reis
Browse files

/tmp/tmpdir -> ./tmpdir

parent 7f289b17
Pipeline #5709 passed with stage
in 56 seconds
......@@ -248,9 +248,9 @@ setupSystem sa = do
$ inproc "mktemp" ["-d", "/tmp/deletable-nix-cache-XXXX"] empty
export "XDG_CACHE_HOME" $ lineToText cachedir
doVerbose $ printInfo $ lineToText cachedir <> " exported to XDG_CACHE_HOME"
inproc "rm" ["-rf", "/tmp/nixtmpdir"] empty
inproc "mkdir" ["-p", "/tmp/nixtmpdir"] empty
export "TMPDIR" "/tmp/nixtmpdir/"
inproc "rm" ["-rf", "./nixtmpdir"] empty
inproc "mkdir" ["-p", "./nixtmpdir"] empty
export "TMPDIR" "./nixtmpdir/"
doVerbose $ printInfo $ lineToText cachedir <> " exported to XDG_CACHE_HOME"
vshell "sudo rm -rf result" empty >>= \case
ExitSuccess -> printInfo "removed ./result"
......
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