zim: fix #21270 (double call of wrapPythonPrograms)

Fixes #21270
This commit is contained in:
Jiri Danek 2016-12-19 11:03:55 +01:00 committed by vbgl
parent 7906eed27e
commit 3745be8542

View File

@ -31,7 +31,6 @@ pythonPackages.buildPythonApplication rec {
''; '';
postFixup = '' postFixup = ''
wrapPythonPrograms
substituteInPlace $out/bin/.zim-wrapped \ substituteInPlace $out/bin/.zim-wrapped \
--replace "sys.argv[0] = 'zim'" "sys.argv[0] = '$out/bin/zim'" --replace "sys.argv[0] = 'zim'" "sys.argv[0] = '$out/bin/zim'"
''; '';