tkabber: Properly wrap all scripts in $out/bin.
Alongside "tkabber", there is also "tkabber-remote", which uses the same variables as the main script and thus needs to be wrapped the same way as well. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
aae2bab821
commit
3a5334f853
1 changed files with 6 additions and 4 deletions
|
@ -36,10 +36,12 @@ in stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/tkabber \
|
||||
--prefix PATH : "${tk}/bin" \
|
||||
--set TCLLIBPATH '"${tclLibPaths}"' \
|
||||
--set TKABBER_SITE_PLUGINS '$HOME/.nix-profile/share/tkabber-plugins'
|
||||
for prog in $out/bin/*; do
|
||||
wrapProgram "$prog" \
|
||||
--prefix PATH : "${tk}/bin" \
|
||||
--set TCLLIBPATH '"${tclLibPaths}"' \
|
||||
--set TKABBER_SITE_PLUGINS '$HOME/.nix-profile/share/tkabber-plugins'
|
||||
done
|
||||
'';
|
||||
|
||||
buildInputs = [ tcl tk x11 makeWrapper ] ++ tclLibraries;
|
||||
|
|
Loading…
Reference in a new issue