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

6
flake.lock generated
View file

@ -121,11 +121,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1684754342,
"narHash": "sha256-plGnjnbnPLoZCTdQX21oT7xliQhFtgcWlkuDHgtEb1o=",
"lastModified": 1683408522,
"narHash": "sha256-9kcPh6Uxo17a3kK3XCHhcWiV1Yu1kYj22RHiymUhMkU=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "7084250df3d7f9735087d3234407f3c1fc2400e3",
"rev": "897876e4c484f1e8f92009fd11b7d988a121a4e7",
"type": "github"
},
"original": {

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