From 18d022c851f546d9634ecd7e0a490af8645106a1 Mon Sep 17 00:00:00 2001 From: surtur Date: Fri, 12 Aug 2022 21:45:26 +0200 Subject: [PATCH] flake: set GOFLAGS --- flake.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/flake.nix b/flake.nix index 41f8b3e..e435ecd 100644 --- a/flake.nix +++ b/flake.nix @@ -64,6 +64,7 @@ overrideModAttrs = _: { # GOPROXY = "direct"; + GOFLAGS = "-buildmode=pie -trimpath -mod=readonly -modcacherw"; }; inherit version;