From 662a933eb06e3927cfc9e9b2820587d9031901e0 Mon Sep 17 00:00:00 2001 From: Marc Weber Date: Thu, 18 Feb 2010 01:49:41 +0000 Subject: [PATCH] fix mercurial gui (python lib path still pointed to 2.5 bet python 2.6 is used now) svn path=/nixpkgs/trunk/; revision=20085 --- pkgs/applications/version-management/mercurial/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/version-management/mercurial/default.nix b/pkgs/applications/version-management/mercurial/default.nix index fb87fa2fd71..f1f19a95029 100644 --- a/pkgs/applications/version-management/mercurial/default.nix +++ b/pkgs/applications/version-management/mercurial/default.nix @@ -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\"