ugly pyasn1 pin for now

This commit is contained in:
arcnmx 2023-05-23 12:27:27 -07:00
parent e340bcdac1
commit e5a8797f1d
2 changed files with 9 additions and 3 deletions

View file

@ -194,6 +194,12 @@ in {
zone = {};
sensor = {};
};
package = pkgs.home-assistant.override {
packageOverrides = self: super: {
pyasn1 = if lib.versionAtLeast super.pyasn1.version "0.5" then throw "unsupported pyasn1 version ${super.pyasn1.version}"
else super.pyasn1;
};
};
extraPackages = python3Packages:
with python3Packages; [
psycopg2