mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
replace use of which
with command -v
in i3 scripts
This commit is contained in:
parent
08dfb4e22c
commit
ec437bff92
1 changed files with 3 additions and 0 deletions
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue