Commit 4b985c52 authored by Andrew Marshall's avatar Andrew Marshall
Browse files

home-assistant-custom-*: make package sets extensible

Otherwise overriding them is difficult.
parent 00c21e4c
Loading
Loading
Loading
Loading
+14 −8
Original line number Diff line number Diff line
@@ -8333,16 +8333,22 @@ with pkgs;

  buildHomeAssistantComponent = callPackage ../servers/home-assistant/build-custom-component { };
  home-assistant-custom-components = recurseIntoAttrs (
    lib.makeExtensible (
      self:
      lib.packagesFromDirectoryRecursive {
        inherit (home-assistant.python.pkgs) callPackage;
        directory = ../servers/home-assistant/custom-components;
      }
    )
  );
  home-assistant-custom-lovelace-modules = recurseIntoAttrs (
    lib.makeExtensible (
      self:
      lib.packagesFromDirectoryRecursive {
        inherit callPackage;
        directory = ../servers/home-assistant/custom-lovelace-modules;
      }
    )
  );

  home-assistant-cli = callPackage ../servers/home-assistant/cli.nix { };