Merge pull request #298765 from leona-ya/paperless-subpath

authored by Sandro and committed by GitHub a9fee3ef 3174508c

+17 -1
+17 -1
pkgs/applications/office/paperless-ngx/default.nix
··· 31 31 hash = "sha256-k19dQeXuPwggTfrsxL4oesExAz4tkT/GN6lt7sLU3Nk="; 32 32 }; 33 33 34 - python = python3; 34 + # subpath installation is broken with uvicorn >= 0.26 35 + # https://github.com/NixOS/nixpkgs/issues/298719 36 + # https://github.com/paperless-ngx/paperless-ngx/issues/5494 37 + python = python3.override { 38 + packageOverrides = self: super: { 39 + uvicorn = super.uvicorn.overridePythonAttrs (oldAttrs: { 40 + version = "0.25.0"; 41 + src = fetchFromGitHub { 42 + owner = "encode"; 43 + repo = "uvicorn"; 44 + rev = "0.25.0"; 45 + hash = "sha256-ng98DTw49zyFjrPnEwfnPfONyjKKZYuLl0qduxSppYk="; 46 + }; 47 + }); 48 + }; 49 + }; 50 + 35 51 36 52 path = lib.makeBinPath [ 37 53 ghostscript