0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 14:10:33 +03:00

Merge pull request #6363 from anderspapitto/master

replace use of `which` with `command -v` in i3 scripts
This commit is contained in:
Peter Simons 2015-03-01 20:36:02 +01:00
commit d8a586427b

View file

@ -37,6 +37,9 @@ stdenv.mkDerivation rec {
wrapProgram "$out/bin/i3-save-tree" --prefix PERL5LIB ":" "$PERL5LIB"
mkdir -p $out/man/man1
cp man/*.1 $out/man/man1
for program in $out/bin/i3-sensible-*; do
sed -i 's/which/command -v/' $program
done
'';
meta = with stdenv.lib; {