about summary refs log tree commit diff
path: root/pkgs/servers/home-automation
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2021-07-27 15:14:24 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2022-11-21 22:40:15 +0100
commit005233baa29a7da3aa2e76ce0bd36bf286aaac4f (patch)
treeb5e9d566f7cabf5d3f75f917af7ee1f5d0c86218 /pkgs/servers/home-automation
parent36f58b687c48494e6f849f0bb816b5d4fcdc30f4 (diff)
nixos/tests/evcc: init
Diffstat (limited to 'pkgs/servers/home-automation')
-rw-r--r--pkgs/servers/home-automation/evcc/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/servers/home-automation/evcc/default.nix b/pkgs/servers/home-automation/evcc/default.nix
index feb0180cc4cbf..a242f9d1cc3a1 100644
--- a/pkgs/servers/home-automation/evcc/default.nix
+++ b/pkgs/servers/home-automation/evcc/default.nix
@@ -10,6 +10,7 @@
 , nodejs
 , npmHooks
 , nix-update-script
+, nixosTests
 , stdenv
 }:
 
@@ -77,6 +78,9 @@ buildGoModule rec {
   '';
 
   passthru = {
+    tests = {
+      inherit (nixosTests) evcc;
+    };
     updateScript = nix-update-script {
       attrPath = pname;
     };