hass
This commit is contained in:
15
overlays/homeassistant/default.nix
Normal file
15
overlays/homeassistant/default.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{ ... }:
|
||||
final: prev: {
|
||||
home-assistant = prev.home-assistant.override {
|
||||
packageOverrides = _self: super: {
|
||||
psnawp = super.psnawp.overridePythonAttrs (old: {
|
||||
nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ super.pythonRelaxDepsHook ];
|
||||
pythonRelaxDeps = [ "pycountry" ];
|
||||
});
|
||||
radios = super.radios.overridePythonAttrs (old: {
|
||||
nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ super.pythonRelaxDepsHook ];
|
||||
pythonRelaxDeps = [ "pycountry" ];
|
||||
});
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -6,10 +6,6 @@ final: prev: {
|
||||
nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ pyPrev.pythonRelaxDepsHook ];
|
||||
pythonRelaxDeps = [ "pycountry" ];
|
||||
});
|
||||
psnawp = pyPrev.psnawp.overridePythonAttrs (old: {
|
||||
nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ pyPrev.pythonRelaxDepsHook ];
|
||||
pythonRelaxDeps = [ "pycountry" ];
|
||||
});
|
||||
};
|
||||
};
|
||||
python3Packages = final.python3.pkgs;
|
||||
|
||||
Reference in New Issue
Block a user