kopia: fix broken permissions on Darwin

Without the patched line, installation on Darwin fails with:
```mv: cannot move 'tmp-vendor' to 'vendor': Permission denied```
This commit is contained in:
gcv 2020-10-22 00:34:38 -07:00 committed by zowoq
parent a266e6c7d5
commit 604ccef15b

View File

@ -27,6 +27,7 @@ buildGoModule rec {
# make 'vendor' writable
cp -L -r vendor tmp-vendor
rm -rf vendor
chmod -R u+w tmp-vendor
mv tmp-vendor vendor
# speakeasy hardcodes /bin/stty https://github.com/bgentry/speakeasy/issues/22