paperwork: Patch broken libreoffice path

Due to the changes in #219166, no suitable path to libreoffice was
found
This commit is contained in:
Moritz 'e1mo' Fromm 2023-03-14 13:08:17 +01:00
parent 3c66f2de15
commit bba33d60fc
No known key found for this signature in database
GPG key ID: 1D5D79A439E787F1

View file

@ -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" ];