vimPlugins.vim-go: simplify postPatch

gnused is part of the stdenv
This commit is contained in:
Sandro Jäckel
2022-06-19 23:26:31 +02:00
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'
'';
});