Merge pull request #77672 from active-group/unbreak-vagrant-macos
vagrant: Unbreak replacing symlinks on macOS
commit6f545410b593a0d1b78806aa878f95ee3f3d4a4a
authorMario Rodas <marsam@users.noreply.github.com>
dateTue 14 Jan 2020, 21:51 (7 years ago)
parent5f586601bea1a3
pkgs/development/tools/vagrant/default.nix+2
@@ -33,6 +33,8 @@ let
3333 for gem in "$out"/lib/ruby/gems/*/gems/*; do
3434 cp -a "$gem/" "$gem.new"
3535 rm "$gem"
36+ # needed on macOS, otherwise the mv yields permission denied
37+ chmod +w "$gem.new"
3638 mv "$gem.new" "$gem"
3739 done
3840 '';