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
4f26826d
Commit
4f26826d
authored
Mar 01, 2019
by
Valentin Reis
Browse files
print fix
parent
057e9aee
Pipeline
#5751
passed with stage
in 2 minutes and 22 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/Argonix.hs
View file @
4f26826d
...
...
@@ -256,8 +256,8 @@ setupSystem sa = do
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
)
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
...
...
@@ -283,11 +283,8 @@ setupSystem sa = do
void
$
printInfo
"Done setting the environment for nix-build up."
where
vshell
=
verboseShell
verbose
verbose
=
verbosity
sa
==
Verbose
doVerbose
=
when
verbose
createAndSetTMPDIR
name
=
do
{-localpath <- (</> fromText name) <$> pwd-}
let
path
=
"/tmp"
</>
fromText
name
...
...
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