kopia: drop vendor workaround

This commit is contained in:
zowoq 2020-10-22 23:15:41 +10:00
parent 66d424514f
commit 214e19c049

View File

@ -24,12 +24,6 @@ buildGoModule rec {
'';
postConfigure = ''
# 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
substituteInPlace vendor/github.com/bgentry/speakeasy/speakeasy_unix.go \
--replace "/bin/stty" "${coreutils}/bin/stty"