vimPlugins.vim-go: simplify postPatch

gnused is part of the stdenv
This commit is contained in:
Sandro Jäckel 2022-06-17 13:28:45 +02:00 committed by Sandro Jäckel
parent 2b74ba3ed7
commit 8a2e36cc53
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -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'
'';
});