diff options
author | Flakebi <flakebi@t-online.de> | 2021-09-18 17:47:13 +0200 |
---|---|---|
committer | Flakebi <flakebi@t-online.de> | 2021-09-18 20:55:50 +0200 |
commit | d80949067f6f724e8513aae939c308ad5b571b86 (patch) | |
tree | 12c43edb13b96850860133fe63d4f7a3a5de24ad | |
parent | 6a836f785b7c1cab199f54c158d368ea540ba713 (diff) | |
download | nixlib-d80949067f6f724e8513aae939c308ad5b571b86.tar nixlib-d80949067f6f724e8513aae939c308ad5b571b86.tar.gz nixlib-d80949067f6f724e8513aae939c308ad5b571b86.tar.bz2 nixlib-d80949067f6f724e8513aae939c308ad5b571b86.tar.lz nixlib-d80949067f6f724e8513aae939c308ad5b571b86.tar.xz nixlib-d80949067f6f724e8513aae939c308ad5b571b86.tar.zst nixlib-d80949067f6f724e8513aae939c308ad5b571b86.zip |
paperless-ng: fix redis connection
paperless-ng is not yet compatible with aioredis 2, which was updated with the last python update, so pin its version to 1.3.1.
-rw-r--r-- | pkgs/applications/office/paperless-ng/default.nix | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/pkgs/applications/office/paperless-ng/default.nix b/pkgs/applications/office/paperless-ng/default.nix index e84b3c794433..f36d46a7f0dd 100644 --- a/pkgs/applications/office/paperless-ng/default.nix +++ b/pkgs/applications/office/paperless-ng/default.nix @@ -27,12 +27,20 @@ let # https://github.com/Koed00/django-q/issues/526 django-q = super.django-q.overridePythonAttrs (oldAttrs: rec { version = "1.3.4"; - src = super.fetchPypi { - inherit (oldAttrs) pname; + src = oldAttrs.src.override { inherit version; sha256 = "Uj1U3PG2YVLBtlj5FPAO07UYo0MqnezUiYc4yo274Q8="; }; }); + + # Incompatible with aioredis 2 + aioredis = super.aioredis.overridePythonAttrs (oldAttrs: rec { + version = "1.3.1"; + src = oldAttrs.src.override { + inherit version; + sha256 = "0fi7jd5hlx8cnv1m97kv9hc4ih4l8v15wzkqwsp73is4n0qazy0m"; + }; + }); }; }; |