From 5fdf6a6f92dc9518883eb1ea1c28acdf44b8f82b Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Thu, 21 May 2020 18:49:26 +0200 Subject: google-compute-engine-oslogin: add test passthru --- .../virtualization/google-compute-engine-oslogin/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'pkgs/tools/virtualization') diff --git a/pkgs/tools/virtualization/google-compute-engine-oslogin/default.nix b/pkgs/tools/virtualization/google-compute-engine-oslogin/default.nix index a16cd200775c..fcb8f5087b95 100644 --- a/pkgs/tools/virtualization/google-compute-engine-oslogin/default.nix +++ b/pkgs/tools/virtualization/google-compute-engine-oslogin/default.nix @@ -1,10 +1,11 @@ { stdenv , lib -, fetchFromGitHub +, bashInteractive , curl +, fetchFromGitHub , json_c +, nixosTests , pam -, bashInteractive }: stdenv.mkDerivation rec { @@ -42,6 +43,10 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; + passthru.tests = { + inherit (nixosTests) google-oslogin; + }; + meta = with stdenv.lib; { homepage = "https://github.com/GoogleCloudPlatform/compute-image-packages"; description = "OS Login Guest Environment for Google Compute Engine"; -- cgit 1.4.1