From 3552e610c33e287ad49f12a7ef7a161e49ee7815 Mon Sep 17 00:00:00 2001 From: Nikola Knezevic Date: Thu, 9 Apr 2020 14:18:38 +0200 Subject: [PATCH] oauth2_proxy: Start running tests for oauth2_proxy No NixOS tests yet, but this is better than nothing. --- pkgs/servers/oauth2_proxy/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/servers/oauth2_proxy/default.nix b/pkgs/servers/oauth2_proxy/default.nix index 339e84966246..9a2fe3ad5cbe 100644 --- a/pkgs/servers/oauth2_proxy/default.nix +++ b/pkgs/servers/oauth2_proxy/default.nix @@ -15,6 +15,8 @@ buildGoPackage rec { goDeps = ./deps.nix; + doCheck = true; + # Taken from https://github.com/oauth2-proxy/oauth2-proxy/blob/master/Makefile buildFlagsArray = ("-ldflags=-X main.VERSION=${version}");