home-assistant-custom-*: make package sets extensible (#488201)
This commit is contained in:
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user