From 21f6cb79a7082e36d3a6374ea5b25a1645875f78 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Sun, 1 Jan 2017 21:58:27 +0100 Subject: zim: remove postFixup, include checkPhase, disable tests - wrap-python.nix used to set sys.argv[0] to the name of the script, but it now sets the path so we won't have to do it here anymore - tests were not found, so the correct file is now invoked --- pkgs/applications/office/zim/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'pkgs/applications/office') diff --git a/pkgs/applications/office/zim/default.nix b/pkgs/applications/office/zim/default.nix index 93f51ce3f8b2..313239581a1a 100644 --- a/pkgs/applications/office/zim/default.nix +++ b/pkgs/applications/office/zim/default.nix @@ -30,12 +30,13 @@ pythonPackages.buildPythonApplication rec { export makeWrapperArgs="--prefix XDG_DATA_DIRS : $out/share --argv0 $out/bin/.zim-wrapped" ''; - postFixup = '' - substituteInPlace $out/bin/.zim-wrapped \ - --replace "sys.argv[0] = 'zim'" "sys.argv[0] = '$out/bin/zim'" + # RuntimeError: could not create GtkClipboard object + doCheck = false; + + checkPhase = '' + python test.py ''; - doCheck = true; meta = { description = "A desktop wiki"; -- cgit 1.4.1