Commit b15f0e25 authored by Valentin Reis's avatar Valentin Reis

adds a chmod on ./result., for argophi1 ..

parent 81d217ae
Pipeline #5890 passed with stages
in 1 minute and 43 seconds
......@@ -419,12 +419,12 @@ wrap nixCommand target sa@ArgsCommon {..} = do
(P.proc (toS nixc) $ fmap toS arglist)
)
>>= \case
ExitSuccess -> copySuccess "/tmp/papa"
ExitFailure _ ->
copyFailure (toS tmpDir) >> die "build failed."
ExitSuccess -> copySuccess "/tmp/papa"
ExitFailure _ -> copyFailure (toS tmpDir) >> die "build failed."
where
copySuccess source =
copySuccess source = do
runProcessVerbose verbosity "cp" ["-r", source, "./result"] []
runProcessVerbose verbosity "chmod" ["-R", "+w", "./result"] []
copyFailure source =
runProcessVerbose verbosity "cp" ["-r", source, "./nixtmpdir"] []
......
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