1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 07:00:43 +00:00

vim-plugins: vim-go: patch go#config#BinPath() instead of the caller

This commit is contained in:
Wael M. Nasreddine 2018-11-05 17:07:54 -08:00
parent 290dd06d14
commit 5ac0ee6ea8
No known key found for this signature in database
GPG key ID: 82AE0A31B33CEFCF

View file

@ -276,8 +276,8 @@ with generated;
in {
postPatch = ''
${gnused}/bin/sed \
-Ee 's@let go_bin_path = go#path#BinPath\(\)@let go_bin_path = "${binPath}"@g' \
-i autoload/go/path.vim
-Ee 's@"go_bin_path", ""@"go_bin_path", "${binPath}"@g' \
-i autoload/go/config.vim
'';
});