Skip to content

Commit b3f4bfa

Browse files
committed
kakoune: restore the ability to find ambient programs
In e4da18a, logic was added to the kakoune wrapper to add a specific directory to the PATH. However, this accidentally used the build-time value, thus breaking the ability of kakoune to find programs on the system-wide PATH. Restore this ability by appending to the run-time value.
1 parent 5e0ca22 commit b3f4bfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkgs/applications/editors/kakoune/wrapper.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ in
2424
rm "$out/bin/kak"
2525
makeWrapper "${kakoune}/bin/kak" "$out/bin/kak" \
2626
--set KAKOUNE_RUNTIME "$out/share/kak" \
27-
--set PATH "$PATH:$out/share/kak/bin"
27+
--suffix PATH : "$out/share/kak/bin"
2828
2929
# currently kakoune ignores doc files if they are symlinks, so workaround by
3030
# copying doc files over, so they become regular files...

0 commit comments

Comments
 (0)