updates tmux plugins scripts
This commit is contained in:
parent
3500ff8aed
commit
29c9a156e5
1 changed files with 24 additions and 0 deletions
|
|
@ -9,6 +9,17 @@ let
|
||||||
rev = "0a8a187afcdf258e32a6b014105c12d344b670a5";
|
rev = "0a8a187afcdf258e32a6b014105c12d344b670a5";
|
||||||
hash = "sha256-t5jRUvwiwym6f7vfKD/D0Vu1UXpxRMCLNyBbY0nZciw=";
|
hash = "sha256-t5jRUvwiwym6f7vfKD/D0Vu1UXpxRMCLNyBbY0nZciw=";
|
||||||
};
|
};
|
||||||
|
nativeBuildInputs = [ pkgs.makeWrapper ];
|
||||||
|
postInstall = ''
|
||||||
|
find $target -type f -name "*.tmux" -o -name "*.sh" | while read script; do
|
||||||
|
wrapProgram "$script" --prefix PATH : ${
|
||||||
|
pkgs.lib.makeBinPath [
|
||||||
|
pkgs.bash
|
||||||
|
pkgs.coreutils
|
||||||
|
]
|
||||||
|
}
|
||||||
|
done
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
tmux-compile = pkgs.tmuxPlugins.mkTmuxPlugin {
|
tmux-compile = pkgs.tmuxPlugins.mkTmuxPlugin {
|
||||||
pluginName = "tmux-compile";
|
pluginName = "tmux-compile";
|
||||||
|
|
@ -19,6 +30,19 @@ let
|
||||||
rev = "be830d944a189fc6b209490fcb815346a3c402ca";
|
rev = "be830d944a189fc6b209490fcb815346a3c402ca";
|
||||||
hash = "sha256-+b3Oc4M0xhwCo7HupAJpG68ZxMC8yMNZLl6QtEQv12o=";
|
hash = "sha256-+b3Oc4M0xhwCo7HupAJpG68ZxMC8yMNZLl6QtEQv12o=";
|
||||||
};
|
};
|
||||||
|
nativeBuildInputs = [ pkgs.makeWrapper ];
|
||||||
|
postInstall = ''
|
||||||
|
find $target -type f -name "*.tmux" -o -name "*.sh" | while read script; do
|
||||||
|
wrapProgram "$script" --prefix PATH : ${
|
||||||
|
pkgs.lib.makeBinPath [
|
||||||
|
pkgs.bash
|
||||||
|
pkgs.coreutils
|
||||||
|
pkgs.gnugrep
|
||||||
|
pkgs.gnused
|
||||||
|
]
|
||||||
|
}
|
||||||
|
done
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue