diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2020-04-15 22:00:14 +0200 |
---|---|---|
committer | Maximilian Bosch <maximilian@mbosch.me> | 2020-04-15 22:35:46 +0200 |
commit | 37fe88e227552d6fefb53c74e70f8366ee43d469 (patch) | |
tree | aa89e6ab36261fd3ad2155cebbab475623ed02ed /pkgs/servers/grocy | |
parent | e3553f1d9419849a495b540c226cf2e686344403 (diff) |
grocy: add `passthru.tests` to reference VM-test
Diffstat (limited to 'pkgs/servers/grocy')
-rw-r--r-- | pkgs/servers/grocy/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/servers/grocy/default.nix b/pkgs/servers/grocy/default.nix index 2694765a948bb..a4c1722d38bd7 100644 --- a/pkgs/servers/grocy/default.nix +++ b/pkgs/servers/grocy/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, unzip }: +{ stdenv, fetchurl, unzip, nixosTests }: stdenv.mkDerivation rec { pname = "grocy"; @@ -19,6 +19,8 @@ stdenv.mkDerivation rec { dontBuild = true; + passthru.tests = { inherit (nixosTests) grocy; }; + installPhase = '' mkdir -p $out/ cp -R . $out/ |