home-assistant-custom-*: make package sets extensible (#488201)

This commit is contained in:
Martin Weinelt
2026-02-27 00:09:31 +00:00
committed by GitHub
+14 -8
View File
@@ -8174,16 +8174,22 @@ with pkgs;
buildHomeAssistantComponent = callPackage ../servers/home-assistant/build-custom-component { };
home-assistant-custom-components = recurseIntoAttrs (
lib.packagesFromDirectoryRecursive {
inherit (home-assistant.python.pkgs) callPackage;
directory = ../servers/home-assistant/custom-components;
}
lib.makeExtensible (
self:
lib.packagesFromDirectoryRecursive {
inherit (home-assistant.python.pkgs) callPackage;
directory = ../servers/home-assistant/custom-components;
}
)
);
home-assistant-custom-lovelace-modules = recurseIntoAttrs (
lib.packagesFromDirectoryRecursive {
inherit callPackage;
directory = ../servers/home-assistant/custom-lovelace-modules;
}
lib.makeExtensible (
self:
lib.packagesFromDirectoryRecursive {
inherit callPackage;
directory = ../servers/home-assistant/custom-lovelace-modules;
}
)
);
home-assistant-cli = callPackage ../servers/home-assistant/cli.nix { };