diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2017-01-01 21:58:27 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2017-01-02 11:29:11 +0100 |
commit | 21f6cb79a7082e36d3a6374ea5b25a1645875f78 (patch) | |
tree | 0061e3f5ab3e112ca087acec09ce59ba5251285c /pkgs/applications/office | |
parent | d68aba4cfb5d7998fbd087f7bf6f5d6f9fb5416a (diff) | |
download | nixlib-21f6cb79a7082e36d3a6374ea5b25a1645875f78.tar nixlib-21f6cb79a7082e36d3a6374ea5b25a1645875f78.tar.gz nixlib-21f6cb79a7082e36d3a6374ea5b25a1645875f78.tar.bz2 nixlib-21f6cb79a7082e36d3a6374ea5b25a1645875f78.tar.lz nixlib-21f6cb79a7082e36d3a6374ea5b25a1645875f78.tar.xz nixlib-21f6cb79a7082e36d3a6374ea5b25a1645875f78.tar.zst nixlib-21f6cb79a7082e36d3a6374ea5b25a1645875f78.zip |
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
Diffstat (limited to 'pkgs/applications/office')
-rw-r--r-- | pkgs/applications/office/zim/default.nix | 9 |
1 files changed, 5 insertions, 4 deletions
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"; |