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
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user