mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
replace use of which
with command -v
in i3 scripts
This commit is contained in:
parent
08dfb4e22c
commit
ec437bff92
@ -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 New Issue
Block a user