mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-30 16:10:36 +00:00
vimPlugins.vim-go: simplify postPatch
gnused is part of the stdenv
This commit is contained in:
committed by
Sandro Jäckel
parent
2b74ba3ed7
commit
8a2e36cc53
@@ -1053,9 +1053,7 @@ self: super: {
|
||||
in
|
||||
{
|
||||
postPatch = ''
|
||||
${gnused}/bin/sed \
|
||||
-Ee 's@"go_bin_path", ""@"go_bin_path", "${binPath}"@g' \
|
||||
-i autoload/go/config.vim
|
||||
sed -i autoload/go/config.vim -Ee 's@"go_bin_path", ""@"go_bin_path", "${binPath}"@g'
|
||||
'';
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user