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 {
|
customComponents = builtins.attrValues {
|
||||||
inherit (self.legacyPackages.${pkgs.system}.hass-addons) home-llm;
|
inherit (self.legacyPackages.${pkgs.system}.hass-components) home-llm;
|
||||||
};
|
};
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
(pkgs.callPackage file ({inherit mkVersion;} // inputs));
|
(pkgs.callPackage file ({inherit mkVersion;} // inputs));
|
||||||
in {
|
in {
|
||||||
dracula = mkScope ./dracula;
|
dracula = mkScope ./dracula;
|
||||||
hass-addons = mkScope ./hass-addons;
|
hass-components = mkScope ./hass-components;
|
||||||
firefoxAddons = mkScope ./firefox-addons;
|
firefoxAddons = mkScope ./firefox-addons;
|
||||||
mpvScripts = mkScope ./mpv-scripts;
|
mpvScripts = mkScope ./mpv-scripts;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{pkgs, ...} @ inputs:
|
{pkgs, ...} @ inputs:
|
||||||
pkgs.lib.makeScope pkgs.newScope (hass: let
|
pkgs.lib.makeScope pkgs.newScope (hass: let
|
||||||
buildHassAddon = file:
|
buildHassComponent = file:
|
||||||
hass.callPackage file (inputs // {});
|
hass.callPackage file (inputs // {});
|
||||||
in {
|
in {
|
||||||
home-llm = buildHassAddon ./home-llm.nix;
|
home-llm = buildHassComponent ./home-llm.nix;
|
||||||
})
|
})
|
|
@ -13,10 +13,10 @@ in
|
||||||
|
|
||||||
src = home-llm-src;
|
src = home-llm-src;
|
||||||
|
|
||||||
|
# FIXME: https://github.com/acon96/home-llm/issues/214
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace ./custom_components/llama_conversation/manifest.json \
|
substituteInPlace ./custom_components/llama_conversation/manifest.json \
|
||||||
--replace-warn "huggingface-hub==0.23.0" "huggingface-hub>=0.23.0" \
|
--replace-warn "huggingface-hub==0.23.0" "huggingface-hub>=0.23.0"
|
||||||
--replace-warn "webcolors<=1.13" "webcolors>=1.13"
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = with python3Packages; [
|
propagatedBuildInputs = with python3Packages; [
|
Loading…
Reference in a new issue