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

adds -L back

parent a993ec33
Pipeline #7050 failed with stages
in 31 seconds
......@@ -271,8 +271,9 @@ wrap nixCommand target sa@ArgsCommon {..} = do
ExitFailure _ -> copyFailure (toS tmpDir) >> die "build failed."
where
copySuccess source = do
runProcessVerbose verbosity "cp" ["--no-preserve=mode", "-r", source, "./result"] []
runProcessVerbose verbosity "cp" ["--no-preserve=mode", "-Lr", source, "./result"] []
runProcessVerbose verbosity "find" ["./result","-type","l","-delete"] []
runProcessVerbose verbosity "find" ["ls","-lah","./result"] []
runProcessVerbose verbosity "chmod" ["-R", "+w", "./result"] []
copyFailure source = do
runProcessVerbose verbosity "cp" ["--no-preserve=mode", "-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