From ae2cf0bee8da88e2f4ecf8e227a7ca56f32c0171 Mon Sep 17 00:00:00 2001 From: Orivej Desh Date: Sat, 2 Dec 2017 11:31:29 +0000 Subject: [PATCH] tortoisehg: check imports This could have prevented #32245. --- .../applications/version-management/tortoisehg/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/version-management/tortoisehg/default.nix b/pkgs/applications/version-management/tortoisehg/default.nix index 44d1ad0cd35..f06a0c90db1 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/;