Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
argo
argonix
Commits
dc73fd0f
Commit
dc73fd0f
authored
Feb 28, 2019
by
Valentin Reis
Browse files
adds sudo nixtmpdir removal
parent
f51ed9b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Argonix.hs
View file @
dc73fd0f
...
...
@@ -255,6 +255,9 @@ setupSystem sa = do
vshell
"sudo rm -rf result"
empty
>>=
\
case
ExitSuccess
->
printInfo
"removed ./result"
ExitFailure
n
->
die
(
"Failed to remove ./result "
<>
repr
n
)
vshell
"sudo rm -rf nixtmpdir"
empty
>>=
\
case
ExitSuccess
->
printInfo
"removed ./result"
ExitFailure
n
->
die
(
"Failed to remove ./result "
<>
repr
n
)
doVerbose
$
printInfo
"running nix-build for the containers attribute."
doVerbose
$
printCommand
$
"nix-build "
<>
pack
(
unwords
(
nixArguments
"containers"
sa
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment