fishPlugins.wakatime-fish: unbreak (#317803)

This commit is contained in:
Yohann Boniface 2024-06-07 01:07:51 +02:00 committed by GitHub
parent 7c738b5104
commit db5f339eec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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; {