Merge pull request #6363 from anderspapitto/master

replace use of `which` with `command -v` in i3 scripts

+3
+3
pkgs/applications/window-managers/i3/default.nix
··· 37 wrapProgram "$out/bin/i3-save-tree" --prefix PERL5LIB ":" "$PERL5LIB" 38 mkdir -p $out/man/man1 39 cp man/*.1 $out/man/man1 40 ''; 41 42 meta = with stdenv.lib; {
··· 37 wrapProgram "$out/bin/i3-save-tree" --prefix PERL5LIB ":" "$PERL5LIB" 38 mkdir -p $out/man/man1 39 cp man/*.1 $out/man/man1 40 + for program in $out/bin/i3-sensible-*; do 41 + sed -i 's/which/command -v/' $program 42 + done 43 ''; 44 45 meta = with stdenv.lib; {