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

adds unlinking

parent 7a51ff7f
Pipeline #7048 failed with stages
in 33 seconds
......@@ -272,6 +272,7 @@ wrap nixCommand target sa@ArgsCommon {..} = do
where
copySuccess source = do
runProcessVerbose verbosity "cp" ["--no-preserve=mode", "-r", source, "./result"] []
runProcessVerbose verbosity "find" ["./result","-type","l","-delete"] []
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