google-compute-engine-oslogin: add test passthru

This commit is contained in:
Florian Klink 2020-05-21 18:49:26 +02:00
parent 444b84a8fb
commit 5fdf6a6f92

View File

@ -1,10 +1,11 @@
{ stdenv { stdenv
, lib , lib
, fetchFromGitHub
, curl
, json_c
, pam
, bashInteractive , bashInteractive
, curl
, fetchFromGitHub
, json_c
, nixosTests
, pam
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -42,6 +43,10 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
passthru.tests = {
inherit (nixosTests) google-oslogin;
};
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = "https://github.com/GoogleCloudPlatform/compute-image-packages"; homepage = "https://github.com/GoogleCloudPlatform/compute-image-packages";
description = "OS Login Guest Environment for Google Compute Engine"; description = "OS Login Guest Environment for Google Compute Engine";