fix mercurial gui (python lib path still pointed to 2.5 bet python 2.6 is used now)

svn path=/nixpkgs/trunk/; revision=20085
This commit is contained in:
Marc Weber 2010-02-18 01:49:41 +00:00
parent 4007d19700
commit 662a933eb0

View File

@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
cp contrib/hgk $out/bin
cat >> $out/etc/mercurial/hgrc << EOF
[extensions]
hgk=$out/lib/python2.5/site-packages/hgext/hgk.py
hgk=$out/lib/${python.libPrefix}/site-packages/hgext/hgk.py
EOF
# setting HG so that hgk can be run itself as well (not only hg view)
WRAP_TK=" --set TK_LIBRARY \"${tk}/lib/tk8.4\"