Skip to content

Commit 5fdf6a6

Browse files
committed
google-compute-engine-oslogin: add test passthru
1 parent 444b84a commit 5fdf6a6

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

  • pkgs/tools/virtualization/google-compute-engine-oslogin

pkgs/tools/virtualization/google-compute-engine-oslogin/default.nix

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{ stdenv
22
, lib
3-
, fetchFromGitHub
3+
, bashInteractive
44
, curl
5+
, fetchFromGitHub
56
, json_c
7+
, nixosTests
68
, pam
7-
, bashInteractive
89
}:
910

1011
stdenv.mkDerivation rec {
@@ -42,6 +43,10 @@ stdenv.mkDerivation rec {
4243

4344
enableParallelBuilding = true;
4445

46+
passthru.tests = {
47+
inherit (nixosTests) google-oslogin;
48+
};
49+
4550
meta = with stdenv.lib; {
4651
homepage = "https://github.com/GoogleCloudPlatform/compute-image-packages";
4752
description = "OS Login Guest Environment for Google Compute Engine";

0 commit comments

Comments
 (0)