From bf651830a9e64bbea8b6fec1952bc800f0505cfb Mon Sep 17 00:00:00 2001 From: Ilan Joselevich Date: Mon, 21 Sep 2026 14:48:14 +0200 Subject: [PATCH] nginx: let modules provide nativeBuildInputs Some modules run their own build system from their config script and need build tools in the nginx build. Assisted-by: Claude:claude-fable-5-1 --- pkgs/servers/http/nginx/generic.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/servers/http/nginx/generic.nix b/pkgs/servers/http/nginx/generic.nix index ee5cbca73e81..91617bc154f5 100644 --- a/pkgs/servers/http/nginx/generic.nix +++ b/pkgs/servers/http/nginx/generic.nix @@ -94,7 +94,8 @@ stdenv.mkDerivation { installShellFiles removeReferencesTo ] - ++ nativeBuildInputs; + ++ nativeBuildInputs + ++ mapModules "nativeBuildInputs"; buildInputs = [ openssl