From 3cd2ca2751087a5f614baa0692ed595aae64498f Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Wed, 9 Nov 2016 15:39:43 +0100 Subject: [PATCH] tortoisehg: use python2 --- .../version-management/tortoisehg/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/version-management/tortoisehg/default.nix b/pkgs/applications/version-management/tortoisehg/default.nix index e5c704f71c7..fd61e490402 100644 --- a/pkgs/applications/version-management/tortoisehg/default.nix +++ b/pkgs/applications/version-management/tortoisehg/default.nix @@ -1,6 +1,6 @@ -{lib, fetchurl, mercurial, pythonPackages}: +{lib, fetchurl, mercurial, python2Packages}: -pythonPackages.buildPythonApplication rec { +python2Packages.buildPythonApplication rec { name = "tortoisehg-${version}"; version = "3.9.2"; @@ -9,15 +9,15 @@ pythonPackages.buildPythonApplication rec { sha256 = "17wcsf91z7dnb7c8vyagasj5vvmas6ms5lx1ny4pnm94qzslkfh2"; }; - pythonPath = with pythonPackages; [ pyqt4 mercurial qscintilla iniparse ]; + pythonPath = with python2Packages; [ pyqt4 mercurial qscintilla iniparse ]; - propagatedBuildInputs = with pythonPackages; [ qscintilla iniparse ]; + propagatedBuildInputs = with python2Packages; [ qscintilla iniparse ]; doCheck = false; dontStrip = true; buildPhase = ""; installPhase = '' - ${pythonPackages.python.executable} setup.py install --prefix=$out + ${python2Packages.python.executable} setup.py install --prefix=$out ln -s $out/bin/thg $out/bin/tortoisehg #convenient alias '';