summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--pkgs/applications/version-management/tortoisehg/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/applications/version-management/tortoisehg/default.nix b/pkgs/applications/version-management/tortoisehg/default.nix
index 44d1ad0cd357..f06a0c90db14 100644
--- a/pkgs/applications/version-management/tortoisehg/default.nix
+++ b/pkgs/applications/version-management/tortoisehg/default.nix
@@ -13,7 +13,7 @@ python2Packages.buildPythonApplication rec {
 
     propagatedBuildInputs = with python2Packages; [ qscintilla iniparse ];
 
-    doCheck = false;
+    doCheck = true;
     dontStrip = true;
     buildPhase = "";
     installPhase = ''
@@ -23,6 +23,11 @@ python2Packages.buildPythonApplication rec {
       ln -s $out/bin/thg $out/bin/tortoisehg     #convenient alias
     '';
 
+    checkPhase = ''
+      echo "test: thg version"
+      $out/bin/thg version
+    '';
+
     meta = {
       description = "Qt based graphical tool for working with Mercurial";
       homepage = http://tortoisehg.bitbucket.org/;