Commit 6acede43 authored by Valentin Reis's avatar Valentin Reis
Browse files

fix cp arguments.

parent 34d82434
Pipeline #6447 failed with stages
in 4 minutes and 21 seconds
...@@ -271,7 +271,7 @@ wrap nixCommand target sa@ArgsCommon {..} = do ...@@ -271,7 +271,7 @@ wrap nixCommand target sa@ArgsCommon {..} = do
ExitFailure _ -> copyFailure (toS tmpDir) >> die "build failed." ExitFailure _ -> copyFailure (toS tmpDir) >> die "build failed."
where where
copySuccess source = do copySuccess source = do
runProcessVerbose verbosity "cp" ["--no-preserve=mode -Lr", source, "./result"] [] runProcessVerbose verbosity "cp" ["--no-preserve=mode", "-Lr", source, "./result"] []
runProcessVerbose verbosity "chmod" ["-R", "+w", "./result"] [] runProcessVerbose verbosity "chmod" ["-R", "+w", "./result"] []
copyFailure source = do copyFailure source = do
runProcessVerbose verbosity "cp" ["-Lr", source, "./nixtmpdir"] [] runProcessVerbose verbosity "cp" ["-Lr", 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