diff options
author | Kevin Cox <kevincox@kevincox.ca> | 2022-01-08 18:31:38 -0500 |
---|---|---|
committer | Kevin Cox <kevincox@kevincox.ca> | 2022-01-14 18:25:54 -0500 |
commit | 7a3e62127da1171b0276b9bd71411606036422a3 (patch) | |
tree | 21e789f33d2cfd0cbebf9a1a7f5ff3d117c27768 /pkgs/servers/mautrix-facebook | |
parent | ff377a78794d412a35245e05428c8f95fef3951f (diff) |
mautrix-facebook: Remove max version requirements.
It appears that these are bumped to match manual testing however they do not work well in nixpkgs as every time a dependency is updated this package breaks. To resolve this issue just strip the max version requirements and assume that it works. Ideally we would do a semver-type comparison but this is likely not an issue because a new major version would need a new attribute name anyways.
Diffstat (limited to 'pkgs/servers/mautrix-facebook')
-rw-r--r-- | pkgs/servers/mautrix-facebook/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/servers/mautrix-facebook/default.nix b/pkgs/servers/mautrix-facebook/default.nix index b3fdef8698b04..c3ad98e47da9e 100644 --- a/pkgs/servers/mautrix-facebook/default.nix +++ b/pkgs/servers/mautrix-facebook/default.nix @@ -32,6 +32,11 @@ python3.pkgs.buildPythonPackage rec { yarl ] ++ lib.optional enableSystemd systemd; + postPatch = '' + # Drop version limiting so that every dependency update doesn't break this package. + sed -i -e 's/,<.*//' requirements.txt + ''; + doCheck = false; postInstall = '' |