summary refs log tree commit diff
path: root/pkgs/applications/office
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/office')
-rw-r--r--pkgs/applications/office/paperwork/paperwork-gtk.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/applications/office/paperwork/paperwork-gtk.nix b/pkgs/applications/office/paperwork/paperwork-gtk.nix
index 6c09681137e..36d3b0056b4 100644
--- a/pkgs/applications/office/paperwork/paperwork-gtk.nix
+++ b/pkgs/applications/office/paperwork/paperwork-gtk.nix
@@ -66,7 +66,9 @@ python3Packages.buildPythonApplication rec {
 
   postInstall = ''
     # paperwork-shell needs to be re-wrapped with access to paperwork
-    cp ${python3Packages.paperwork-shell}/bin/.paperwork-cli-wrapped $out/bin/paperwork-cli
+    for exe in paperwork-cli paperwork-json; do
+      cp ${python3Packages.paperwork-shell}/bin/.$exe-wrapped $out/bin/$exe
+    done
     # install desktop files and icons
     XDG_DATA_HOME=$out/share $out/bin/paperwork-gtk install --user
 
@@ -120,6 +122,9 @@ python3Packages.buildPythonApplication rec {
       --config-file=${dbus}/share/dbus-1/session.conf \
       $out/bin/paperwork-gtk chkdeps
 
+    $out/bin/paperwork-cli chkdeps
+    $out/bin/paperwork-json chkdeps
+
     # content of make test, without the dep on make install
     python -m unittest discover --verbose -s tests