about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2023-11-25 16:32:41 +0100
committerMartin Weinelt <hexa@darmstadt.ccc.de>2023-12-06 03:55:33 +0100
commit01616e5331d2790127aa2e61c126fff9467889f2 (patch)
treee00117db74b6800f478e9404bb036d970d641b25 /nixos
parent8c87a98ce1e8850faee64a0a540acff233b66bd2 (diff)
downloadnixlib-01616e5331d2790127aa2e61c126fff9467889f2.tar
nixlib-01616e5331d2790127aa2e61c126fff9467889f2.tar.gz
nixlib-01616e5331d2790127aa2e61c126fff9467889f2.tar.bz2
nixlib-01616e5331d2790127aa2e61c126fff9467889f2.tar.lz
nixlib-01616e5331d2790127aa2e61c126fff9467889f2.tar.xz
nixlib-01616e5331d2790127aa2e61c126fff9467889f2.tar.zst
nixlib-01616e5331d2790127aa2e61c126fff9467889f2.zip
buildHomeAssistantComponent: migrate from pname to owner/domain
Also make the attribute name to match the domain name.

This is more in line with the home-assistant custom component ecosystem
and allows additional validation between the derivation and the manifest.

Also, at a later time, this will enable us to check for domain conflicts
at eval time.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/home-assistant.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/home-assistant.nix b/nixos/tests/home-assistant.nix
index e1588088ba19..9200723f35e7 100644
--- a/nixos/tests/home-assistant.nix
+++ b/nixos/tests/home-assistant.nix
@@ -43,7 +43,7 @@ in {
 
       # test loading custom components
       customComponents = with pkgs.home-assistant-custom-components; [
-        prometheus-sensor
+        prometheus_sensor
       ];
 
       # test loading lovelace modules