mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-23 13:48:21 +03:00
Handle sourceRoots with leading dashes
This commit is contained in:
parent
79e7f7af9a
commit
b24ce2ae63
@ -866,7 +866,7 @@ unpackPhase() {
|
||||
# necessary when sources have been copied from other store
|
||||
# locations.
|
||||
if [ "${dontMakeSourcesWritable:-0}" != 1 ]; then
|
||||
chmod -R u+w "$sourceRoot"
|
||||
chmod -R u+w -- "$sourceRoot"
|
||||
fi
|
||||
|
||||
runHook postUnpack
|
||||
|
Loading…
Reference in New Issue
Block a user