diff options
author | nyanloutre <paul@nyanlout.re> | 2020-06-23 00:42:00 +0200 |
---|---|---|
committer | nyanloutre <paul@nyanlout.re> | 2020-06-23 00:42:00 +0200 |
commit | ac0e4d1b889056d35a887c417a5a211c1f00f875 (patch) | |
tree | 257ca41a855448725204ec91111b22240d1d8b8a /pkgs/servers/nginx-sso | |
parent | ebd7fab5218d49b4f028d8eb07c9c985a195c83b (diff) |
nginx-sso: add passthru.tests
Diffstat (limited to 'pkgs/servers/nginx-sso')
-rw-r--r-- | pkgs/servers/nginx-sso/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/servers/nginx-sso/default.nix b/pkgs/servers/nginx-sso/default.nix index 2e0b5a578bcec..dffe48db58a3d 100644 --- a/pkgs/servers/nginx-sso/default.nix +++ b/pkgs/servers/nginx-sso/default.nix @@ -1,4 +1,4 @@ -{ buildGoPackage, fetchFromGitHub, stdenv }: +{ buildGoPackage, fetchFromGitHub, stdenv, nixosTests }: buildGoPackage rec { pname = "nginx-sso"; @@ -19,6 +19,10 @@ buildGoPackage rec { cp -R $src/frontend $out/share ''; + passthru.tests = { + inherit (nixosTests) nginx-sso; + }; + meta = with stdenv.lib; { description = "SSO authentication provider for the auth_request nginx module"; homepage = "https://github.com/Luzifer/nginx-sso"; |