Commit ae2618f1 authored by Valentin Reis's avatar Valentin Reis
Browse files

build failure proper report.

parent c0d05db8
Pipeline #5885 passed with stages
in 27 seconds
......@@ -420,7 +420,8 @@ wrap nixCommand target sa@ArgsCommon {..} = do
)
>>= \case
ExitSuccess -> copySuccess "/tmp/papa"
ExitFailure _ -> copyFailure $ toS tmpXDGHOME
ExitFailure _ ->
copyFailure (toS tmpXDGHOME) >> die "build failed."
where
copySuccess source =
runProcessVerbose verbosity "cp" ["-r", source, "./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