From 218990a1b20f7a67b4e8eddb3dba173723805d61 Mon Sep 17 00:00:00 2001 From: "git@71rd.net" Date: Wed, 28 Oct 2026 15:40:01 +0000 Subject: [PATCH] nginx: explicitly add libxcrypt as buildinput This fixes `nginx` being unable to hash passwords, when built without `perl`, as `libxcrypt` was added to `nginx` only as propagatedBuildInput from `perl` RESOLVES #57979 --- 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 70a837492cd8..058380dddb4e 100644 --- a/pkgs/servers/http/nginx/generic.nix +++ b/pkgs/servers/http/nginx/generic.nix @@ -8,6 +8,7 @@ outer@{ pcre2, libxml2, libxslt, + libxcrypt, nginx-doc, nixosTests, @@ -115,13 +116,13 @@ mkDerivation { pcre2 libxml2 libxslt + libxcrypt ] ++ buildInputs ++ mapModules "buildInputs" ++ lib.optional withGeoIP geoip ++ lib.optional withImageFilter gd ++ lib.optional withPerl perl; - dontAddStaticConfigureFlags = true; configureFlags = [