about summary refs log tree commit diff
path: root/pkgs/applications/office/paperwork
diff options
context:
space:
mode:
authorMoritz 'e1mo' Fromm <git@e1mo.de>2023-03-14 13:08:17 +0100
committerMoritz 'e1mo' Fromm <git@e1mo.de>2023-03-18 11:32:17 +0100
commitbba33d60fc1d855c5b50a353b95ed39cdfeced51 (patch)
treee105113848331da590d67dc0ab97b852b64f7bfb /pkgs/applications/office/paperwork
parent3c66f2de15281ed7925ac08c6ca6f64729b39bf9 (diff)
downloadnixlib-bba33d60fc1d855c5b50a353b95ed39cdfeced51.tar
nixlib-bba33d60fc1d855c5b50a353b95ed39cdfeced51.tar.gz
nixlib-bba33d60fc1d855c5b50a353b95ed39cdfeced51.tar.bz2
nixlib-bba33d60fc1d855c5b50a353b95ed39cdfeced51.tar.lz
nixlib-bba33d60fc1d855c5b50a353b95ed39cdfeced51.tar.xz
nixlib-bba33d60fc1d855c5b50a353b95ed39cdfeced51.tar.zst
nixlib-bba33d60fc1d855c5b50a353b95ed39cdfeced51.zip
paperwork: Patch broken libreoffice path
Due to the changes in #219166, no suitable path to libreoffice was
found
Diffstat (limited to 'pkgs/applications/office/paperwork')
-rw-r--r--pkgs/applications/office/paperwork/paperwork-backend.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/office/paperwork/paperwork-backend.nix b/pkgs/applications/office/paperwork/paperwork-backend.nix
index b67dfe436fa2..c7ddfa09e234 100644
--- a/pkgs/applications/office/paperwork/paperwork-backend.nix
+++ b/pkgs/applications/office/paperwork/paperwork-backend.nix
@@ -1,5 +1,6 @@
 { buildPythonPackage
 , lib
+, fetchpatch
 , fetchFromGitLab
 , pyenchant
 , scikit-learn
@@ -34,6 +35,10 @@ buildPythonPackage rec {
   patches = [
     # disables a flaky test https://gitlab.gnome.org/World/OpenPaperwork/paperwork/-/issues/1035#note_1493700
     ./flaky_test.patch
+    (fetchpatch {
+      url = "https://gitlab.gnome.org/World/OpenPaperwork/paperwork/-/commit/0f5cf0fe7ef223000e02c28e4c7576f74a778fe6.patch";
+      hash = "sha256-NIK3j2TdydfeK3/udS/Pc+tJa/pPkfAmSPPeaYuaCq4=";
+    })
   ];
 
   patchFlags = [ "-p2" ];