From 9a1032fa4ffb3c94391379361154a0916991beeb Mon Sep 17 00:00:00 2001 From: Andrew Marshall Date: Tue, 15 Apr 2025 10:17:28 -0400 Subject: [PATCH] kitty: append instead of prepend extra deps to PATH MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This allows those in the PATH already to be preferred. Prepending might lead to confusing behavior as this may have overridden the user’s choice for these in the shell that Kitty starts. --- pkgs/by-name/ki/kitty/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/ki/kitty/package.nix b/pkgs/by-name/ki/kitty/package.nix index cf8920486320..9546a34ab7b0 100644 --- a/pkgs/by-name/ki/kitty/package.nix +++ b/pkgs/by-name/ki/kitty/package.nix @@ -294,7 +294,7 @@ buildPythonApplication rec { # dereference the `kitty` symlink to make sure the actual executable # is wrapped on macOS as well (and not just the symlink) - wrapProgram $(realpath "$out/bin/kitty") --prefix PATH : "$out/bin:${ + wrapProgram $(realpath "$out/bin/kitty") --suffix PATH : "$out/bin:${ lib.makeBinPath [ imagemagick ncurses.dev