mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-30 16:10:36 +00:00
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
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user