diff --git a/pkgs/shells/fish/plugins/wakatime-fish.nix b/pkgs/shells/fish/plugins/wakatime-fish.nix index f724eff4b08b..4c6915b7e0a6 100644 --- a/pkgs/shells/fish/plugins/wakatime-fish.nix +++ b/pkgs/shells/fish/plugins/wakatime-fish.nix @@ -17,8 +17,8 @@ buildFishPlugin rec { preFixup = '' substituteInPlace $out/share/fish/vendor_conf.d/wakatime.fish \ - --replace-fail "if type -p wakatime-cli" "if type -p ${lib.getExe wakatime-cli}" \ - --replace-fail "(type -p wakatime-cli)" "${lib.getExe wakatime-cli}" + --replace-fail "if type -p wakatime" "if type -p ${lib.getExe wakatime-cli}" \ + --replace-fail "(type -p wakatime)" "${lib.getExe wakatime-cli}" ''; meta = with lib; {