forked from mirrors/nixpkgs
gui: wrap 'gui' module to ensure that it has a valid $TK_LIBRARY path
svn path=/nixpkgs/branches/stdenv-updates/; revision=25318
This commit is contained in:
parent
302d783310
commit
1ea903a74a
|
@ -84,7 +84,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
+ (if guiSupport then ''
|
||||
# Wrap Tcl/Tk programs
|
||||
for prog in bin/gitk libexec/git-core/git-gui
|
||||
for prog in bin/gitk bin/git
|
||||
do
|
||||
wrapProgram "$out/$prog" \
|
||||
--set TK_LIBRARY "${tk}/lib/${tk.libPrefix}" \
|
||||
|
|
Loading…
Reference in a new issue