Tk version number is now 8.5 but at several places TK_LIBRARY is set "${tk}/lib/tk8.4". As for Python, tk.libPrefix is introduced to match "tk8.5".

contributed by David Guibert
Signed-off-by: David Guibert <david.guibert@gmail.com>

svn path=/nixpkgs/trunk/; revision=22041
This commit is contained in:
Marc Weber
2010-05-28 10:57:50 +00:00
parent 629849c449
commit 932899f3da
5 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
"--with-tk=" + tk + "/lib";
postInstall = ''
wrapProgram $out/bin/wishwn --set TK_LIBRARY "${tk}/lib/tk8.4"
wrapProgram $out/bin/wishwn --set TK_LIBRARY "${tk}/lib/${tk.libPrefix}"
wrapProgram $out/bin/wnb --prefix PATH : "$out/bin"
'';