From 7efec6ef948d00da99255b678b862bc14c119a51 Mon Sep 17 00:00:00 2001 From: Rexiel Scarlet <37258415+Rexcrazy804@users.noreply.github.com> Date: Sat, 13 Jun 2026 12:51:47 +0400 Subject: [PATCH] fishPlugins.done: include jq dependency added self to maintainers --- pkgs/shells/fish/plugins/done.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/pkgs/shells/fish/plugins/done.nix b/pkgs/shells/fish/plugins/done.nix index 5f0fd672adf6..bc580f35e396 100644 --- a/pkgs/shells/fish/plugins/done.nix +++ b/pkgs/shells/fish/plugins/done.nix @@ -3,6 +3,7 @@ buildFishPlugin, fetchFromGitHub, fishtape, + jq, }: buildFishPlugin rec { @@ -16,6 +17,12 @@ buildFishPlugin rec { hash = "sha256-GZ1ZpcaEfbcex6XvxOFJDJqoD9C5out0W4bkkn768r0="; }; + postPatch = '' + substituteInPlace conf.d/done.fish \ + --replace-fail " jq " " ${lib.getExe jq} " \ + --replace-fail "and type -q jq" "and type -q ${lib.getExe jq}" + ''; + checkPlugins = [ fishtape ]; checkPhase = '' fishtape test/done.fish @@ -25,6 +32,9 @@ buildFishPlugin rec { description = "Automatically receive notifications when long processes finish"; homepage = "https://github.com/franciscolourenco/done"; license = lib.licenses.mit; - maintainers = [ lib.maintainers.malo ]; + maintainers = with lib.maintainers; [ + malo + rexies + ]; }; }