Fix home-assistant

Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
Magic_RB 2023-04-25 13:37:06 +02:00
parent cb5e962f24
commit 4f6cf3a4a0
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E
3 changed files with 14 additions and 14 deletions

View file

@ -130,11 +130,11 @@
]; ];
}; };
package = package =
(pkgs.home-assistant.override pkgs.home-assistant.override
{ extraComponents = { extraComponents =
[ "http" [ "http"
"homeassistant" "homeassistant"
"image" # "image"
"person" "person"
"cloud" "cloud"
"onboarding" "onboarding"
@ -151,14 +151,13 @@
"stream" "stream"
"recorder" "recorder"
]; ];
}).overridePythonAttrs (old:
{ extraPackages = ps: with ps;
propagatedBuildInputs = with old.passthru.python.pkgs;
[ xmodem [ xmodem
psycopg2 psycopg2
aiohttp-cors aiohttp-cors
] ++ old.propagatedBuildInputs; ];
}); };
}; };
}; };
}); });

View file

@ -55,15 +55,16 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1682262484, "lastModified": 1682422260,
"narHash": "sha256-2ep7UAYzvgGQ+uuwDgRqXksDCgqT3dEOCvOgS4hcOMs=", "narHash": "sha256-5yHfygjNdKi2HK06P3psPRcoegkYkaOF81sEwlMdKMc=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NixNG", "repo": "NixNG",
"rev": "69019125a41249605fde6fca2acc51933725e848", "rev": "14df8debfbd2a2e8e946848ad24581109a286020",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nix-community", "owner": "nix-community",
"ref": "hass-fix",
"repo": "NixNG", "repo": "NixNG",
"type": "github" "type": "github"
} }

View file

@ -3,7 +3,7 @@
nixpkgs.url = "github:NixOS/nixpkgs?ref=nixos-unstable"; nixpkgs.url = "github:NixOS/nixpkgs?ref=nixos-unstable";
nixng = { nixng = {
url = "github:nix-community/NixNG"; url = "github:nix-community/NixNG?ref=hass-fix";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
website = { website = {