fishplugins.forgit: fix dependency linking

This commit is contained in:
happysalada 2021-04-29 07:58:10 +09:00 committed by Raphael Megzari
parent f1e271714b
commit a946e4c558

View file

@ -4,7 +4,11 @@ buildFishPlugin rec {
pname = "forgit";
version = "unstable-2021-04-09";
buildInputs = [ git fzf ];
preFixup = ''
substituteInPlace $out/share/fish/vendor_conf.d/forgit.plugin.fish \
--replace "fzf " "${fzf}/bin/fzf " \
--replace "git " "${git}/bin/git "
'';
src = fetchFromGitHub {
owner = "wfxr";