Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
argo
argonix
Commits
a9c53613
Commit
a9c53613
authored
May 01, 2019
by
Valentin Reis
Browse files
remove -L in copySuccess
parent
2fd8db7e
Pipeline
#7019
passed with stages
in 1 minute and 26 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/Nixwrap.hs
View file @
a9c53613
...
...
@@ -271,7 +271,7 @@ wrap nixCommand target sa@ArgsCommon {..} = do
ExitFailure
_
->
copyFailure
(
toS
tmpDir
)
>>
die
"build failed."
where
copySuccess
source
=
do
runProcessVerbose
verbosity
"cp"
[
"--no-preserve=mode"
,
"-
L
r"
,
source
,
"./result"
]
[]
runProcessVerbose
verbosity
"cp"
[
"--no-preserve=mode"
,
"-r"
,
source
,
"./result"
]
[]
runProcessVerbose
verbosity
"chmod"
[
"-R"
,
"+w"
,
"./result"
]
[]
copyFailure
source
=
do
runProcessVerbose
verbosity
"cp"
[
"-Lr"
,
source
,
"./nixtmpdir"
]
[]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment