about summary refs log tree commit diff
path: root/pkgs/applications/office/paperless-ngx
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2023-12-06 03:01:13 +0100
committerYaya <github@uwu.is>2023-12-06 12:16:01 +0100
commit254903f507b934b83e398628260f12e3fd18984d (patch)
treec01a92ab397281c4254adca54cfc563b6292cdbb /pkgs/applications/office/paperless-ngx
parent3b3b5cbb27f26aa5d25f4b8e35d493dc4388872a (diff)
paperless-ngx: remove not matching substitute
> substituteStream(): WARNING: pattern 'this is awebp document' doesn't match anything in file 'src/paperless_tesseract/tests/test_parser.py'
Diffstat (limited to 'pkgs/applications/office/paperless-ngx')
-rw-r--r--pkgs/applications/office/paperless-ngx/default.nix4
1 files changed, 0 insertions, 4 deletions
diff --git a/pkgs/applications/office/paperless-ngx/default.nix b/pkgs/applications/office/paperless-ngx/default.nix
index 31816fc203fa4..7b37fbb79fed3 100644
--- a/pkgs/applications/office/paperless-ngx/default.nix
+++ b/pkgs/applications/office/paperless-ngx/default.nix
@@ -271,10 +271,6 @@ python.pkgs.buildPythonApplication rec {
     # Disable unneeded code coverage test
     substituteInPlace src/setup.cfg \
       --replace "--cov --cov-report=html --cov-report=xml" ""
-    # OCR on NixOS recognizes the space in the picture, upstream CI doesn't.
-    # See https://github.com/paperless-ngx/paperless-ngx/pull/2216
-    substituteInPlace src/paperless_tesseract/tests/test_parser.py \
-      --replace "this is awebp document" "this is a webp document"
   '';
 
   disabledTests = [