From c568c9d65cd4f8e09fc6a7a9e13f394160c15201 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Mon, 9 Feb 2026 22:27:37 +0100 Subject: [PATCH] unbound: move env variable(s) into env for structuredAttrs --- pkgs/by-name/un/unbound/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/un/unbound/package.nix b/pkgs/by-name/un/unbound/package.nix index dc8c7879d523..2cb8ab3ac1bd 100644 --- a/pkgs/by-name/un/unbound/package.nix +++ b/pkgs/by-name/un/unbound/package.nix @@ -147,7 +147,7 @@ stdenv.mkDerivation (finalAttrs: { "--with-libhiredis=${hiredis}" ]; - PROTOC_C = lib.optionalString withDNSTAP "${protobufc}/bin/protoc-c"; + env.PROTOC_C = lib.optionalString withDNSTAP "${protobufc}/bin/protoc-c"; # Remove references to compile-time dependencies that are included in the configure flags postConfigure =