From 99ac962b7a21034c988ca6eaaf1b16f97ccfaa4c Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Mon, 26 Aug 2024 00:42:26 -0400 Subject: [PATCH] dwt1-shell-color-scripts: fix path for shell completions --- pkgs/tools/misc/dwt1-shell-color-scripts/default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/dwt1-shell-color-scripts/default.nix b/pkgs/tools/misc/dwt1-shell-color-scripts/default.nix index 8b0c96316c97..0843962703fe 100644 --- a/pkgs/tools/misc/dwt1-shell-color-scripts/default.nix +++ b/pkgs/tools/misc/dwt1-shell-color-scripts/default.nix @@ -37,9 +37,12 @@ stdenvNoCC.mkDerivation { ''; postFixup = '' - substituteInPlace $out/bin/colorscript \ - --replace "/opt/shell-color-scripts/colorscripts" \ - "$out/share/shell-color-scripts/colorscripts" + substituteInPlace \ + $out/bin/colorscript \ + $out/share/fish/vendor_completions.d/colorscript.fish \ + $out/share/zsh/site-functions/_colorscript \ + --replace-fail "/opt/shell-color-scripts/colorscripts" \ + "$out/share/shell-color-scripts/colorscripts" ''; meta = {