chore(hass): use proper terms for components
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
ccdfcd1912
commit
20d2fc6b76
4 changed files with 6 additions and 6 deletions
|
@ -26,7 +26,7 @@
|
|||
];
|
||||
|
||||
customComponents = builtins.attrValues {
|
||||
inherit (self.legacyPackages.${pkgs.system}.hass-addons) home-llm;
|
||||
inherit (self.legacyPackages.${pkgs.system}.hass-components) home-llm;
|
||||
};
|
||||
|
||||
config = {
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
(pkgs.callPackage file ({inherit mkVersion;} // inputs));
|
||||
in {
|
||||
dracula = mkScope ./dracula;
|
||||
hass-addons = mkScope ./hass-addons;
|
||||
hass-components = mkScope ./hass-components;
|
||||
firefoxAddons = mkScope ./firefox-addons;
|
||||
mpvScripts = mkScope ./mpv-scripts;
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{pkgs, ...} @ inputs:
|
||||
pkgs.lib.makeScope pkgs.newScope (hass: let
|
||||
buildHassAddon = file:
|
||||
buildHassComponent = file:
|
||||
hass.callPackage file (inputs // {});
|
||||
in {
|
||||
home-llm = buildHassAddon ./home-llm.nix;
|
||||
home-llm = buildHassComponent ./home-llm.nix;
|
||||
})
|
|
@ -13,10 +13,10 @@ in
|
|||
|
||||
src = home-llm-src;
|
||||
|
||||
# FIXME: https://github.com/acon96/home-llm/issues/214
|
||||
postPatch = ''
|
||||
substituteInPlace ./custom_components/llama_conversation/manifest.json \
|
||||
--replace-warn "huggingface-hub==0.23.0" "huggingface-hub>=0.23.0" \
|
||||
--replace-warn "webcolors<=1.13" "webcolors>=1.13"
|
||||
--replace-warn "huggingface-hub==0.23.0" "huggingface-hub>=0.23.0"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
Loading…
Reference in a new issue