From 5ac0ee6ea8980e9cd04b9600b5875389b0f39583 Mon Sep 17 00:00:00 2001 From: "Wael M. Nasreddine" Date: Mon, 5 Nov 2018 17:07:54 -0800 Subject: [PATCH] vim-plugins: vim-go: patch go#config#BinPath() instead of the caller --- pkgs/misc/vim-plugins/overrides.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/misc/vim-plugins/overrides.nix b/pkgs/misc/vim-plugins/overrides.nix index c1bd45a6b789..eb121798f527 100644 --- a/pkgs/misc/vim-plugins/overrides.nix +++ b/pkgs/misc/vim-plugins/overrides.nix @@ -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 ''; });