mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
Merge pull request #77672 from active-group/unbreak-vagrant-macos
vagrant: Unbreak replacing symlinks on macOS
This commit is contained in:
commit
6f545410b5
@ -33,6 +33,8 @@ let
|
||||
for gem in "$out"/lib/ruby/gems/*/gems/*; do
|
||||
cp -a "$gem/" "$gem.new"
|
||||
rm "$gem"
|
||||
# needed on macOS, otherwise the mv yields permission denied
|
||||
chmod +w "$gem.new"
|
||||
mv "$gem.new" "$gem"
|
||||
done
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user