From bba33d60fc1d855c5b50a353b95ed39cdfeced51 Mon Sep 17 00:00:00 2001 From: Moritz 'e1mo' Fromm Date: Tue, 14 Mar 2023 13:08:17 +0100 Subject: [PATCH] paperwork: Patch broken libreoffice path Due to the changes in #219166, no suitable path to libreoffice was found --- pkgs/applications/office/paperwork/paperwork-backend.nix | 5 +++++ 1 file changed, 5 insertions(+) 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" ];