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
ae2618f1
Commit
ae2618f1
authored
Mar 06, 2019
by
Valentin Reis
Browse files
build failure proper report.
parent
c0d05db8
Pipeline
#5885
passed with stages
in 27 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/Argonix.hs
View file @
ae2618f1
...
...
@@ -419,8 +419,9 @@ wrap nixCommand target sa@ArgsCommon {..} = do
(
P
.
proc
(
toS
nixc
)
$
fmap
toS
arglist
)
)
>>=
\
case
ExitSuccess
->
copySuccess
"/tmp/papa"
ExitFailure
_
->
copyFailure
$
toS
tmpXDGHOME
ExitSuccess
->
copySuccess
"/tmp/papa"
ExitFailure
_
->
copyFailure
(
toS
tmpXDGHOME
)
>>
die
"build failed."
where
copySuccess
source
=
runProcessVerbose
verbosity
"cp"
[
"-r"
,
source
,
"./result"
]
[]
...
...
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