From eeed5c04c92b27d6b0ad547df7e420a2cee5fffe Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Sun, 27 Oct 2024 14:46:25 +0100 Subject: [PATCH] dmarc-report-converter: add checkFlags to run the unittests --- pkgs/by-name/dm/dmarc-report-converter/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/dm/dmarc-report-converter/package.nix b/pkgs/by-name/dm/dmarc-report-converter/package.nix index 8f5b3eb44270..507fbe4a4300 100644 --- a/pkgs/by-name/dm/dmarc-report-converter/package.nix +++ b/pkgs/by-name/dm/dmarc-report-converter/package.nix @@ -19,6 +19,8 @@ buildGoModule rec { vendorHash = null; + checkFlags = [ "-mod=vendor ./cmd/... ./pkg/..." ]; + ldflags = [ "-s" "-w"