summary refs log tree commit diff
path: root/pkgs/servers/home-assistant
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2021-12-01 01:09:52 +0100
committerMartin Weinelt <hexa@darmstadt.ccc.de>2021-12-01 01:09:52 +0100
commit254dd2a1025e46bccd05c4cc0dd461093b689480 (patch)
treedd796f8f4493475e86fac466dfafc198e918a59b /pkgs/servers/home-assistant
parentab5a3f8226b52b4ee32ea9dcb33d007b39a1e566 (diff)
downloadnixpkgs-254dd2a1025e46bccd05c4cc0dd461093b689480.tar
nixpkgs-254dd2a1025e46bccd05c4cc0dd461093b689480.tar.gz
nixpkgs-254dd2a1025e46bccd05c4cc0dd461093b689480.tar.bz2
nixpkgs-254dd2a1025e46bccd05c4cc0dd461093b689480.tar.lz
nixpkgs-254dd2a1025e46bccd05c4cc0dd461093b689480.tar.xz
nixpkgs-254dd2a1025e46bccd05c4cc0dd461093b689480.tar.zst
nixpkgs-254dd2a1025e46bccd05c4cc0dd461093b689480.zip
nixos/home-assistant: consider extraComponents in hardening
Previously the extraComponents added to an overriden package would not
have been considered in hardening measures enforced by the module.

Home Assistant is warning the user about component definitions having
moved away from YAML, so using an override to include support for a
component might become the better way moving forward.
Diffstat (limited to 'pkgs/servers/home-assistant')
-rw-r--r--pkgs/servers/home-assistant/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix
index 4b4cb222e96..5febf010dff 100644
--- a/pkgs/servers/home-assistant/default.nix
+++ b/pkgs/servers/home-assistant/default.nix
@@ -888,7 +888,7 @@ in with py.pkgs; buildPythonApplication rec {
   '';
 
   passthru = {
-    inherit availableComponents;
+    inherit availableComponents extraComponents;
     python = py;
     tests = {
       inherit (nixosTests) home-assistant;