From 8730ce7b0e437cd4a582afc5328f6fd6e61fa2e1 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sat, 14 Feb 2026 12:20:18 +0100 Subject: [PATCH] tarsum: move env variable(s) into env for structuredAttrs --- pkgs/build-support/docker/tarsum.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/build-support/docker/tarsum.nix b/pkgs/build-support/docker/tarsum.nix index 9358c571e94b..6c82fb8f4238 100644 --- a/pkgs/build-support/docker/tarsum.nix +++ b/pkgs/build-support/docker/tarsum.nix @@ -13,9 +13,11 @@ stdenv.mkDerivation { dontUnpack = true; - CGO_ENABLED = 0; - GOFLAGS = "-trimpath"; - GO111MODULE = "off"; + env = { + CGO_ENABLED = 0; + GOFLAGS = "-trimpath"; + GO111MODULE = "off"; + }; buildPhase = '' runHook preBuild