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:
aszlig 2014-01-06 14:15:58 +01:00
parent aae2bab821
commit 3a5334f853
No known key found for this signature in database
GPG Key ID: D0EBD0EC8C2DC961

View File

@ -36,10 +36,12 @@ in stdenv.mkDerivation rec {
''; '';
postInstall = '' postInstall = ''
wrapProgram $out/bin/tkabber \ for prog in $out/bin/*; do
--prefix PATH : "${tk}/bin" \ wrapProgram "$prog" \
--set TCLLIBPATH '"${tclLibPaths}"' \ --prefix PATH : "${tk}/bin" \
--set TKABBER_SITE_PLUGINS '$HOME/.nix-profile/share/tkabber-plugins' --set TCLLIBPATH '"${tclLibPaths}"' \
--set TKABBER_SITE_PLUGINS '$HOME/.nix-profile/share/tkabber-plugins'
done
''; '';
buildInputs = [ tcl tk x11 makeWrapper ] ++ tclLibraries; buildInputs = [ tcl tk x11 makeWrapper ] ++ tclLibraries;