From de9dba61f9b08748bb4388963d6477cfb11d41d1 Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Fri, 29 Dec 2023 17:17:39 -0500 Subject: [PATCH] yubihsm-connector: fix cross compilation --- pkgs/tools/security/yubihsm-connector/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/security/yubihsm-connector/default.nix b/pkgs/tools/security/yubihsm-connector/default.nix index ab2a29808380..aee210beabac 100644 --- a/pkgs/tools/security/yubihsm-connector/default.nix +++ b/pkgs/tools/security/yubihsm-connector/default.nix @@ -24,7 +24,7 @@ buildGoModule rec { ldflags = [ "-s" "-w" ]; preBuild = '' - go generate + GOOS= GOARCH= go generate ''; meta = with lib; {