Merge pull request #118338 from Izorkin/update-nginx-zlib-ng

nginx: update to 1.20.0, replace zlib to zlib-ng

ajs124 39a51c99 bb80d578

Changed files
+13 -4
nixos
doc
manual
release-notes
pkgs
servers
top-level
+6
nixos/doc/manual/release-notes/rl-2105.xml
···
been introduced.
</para>
</listitem>
+
<listitem>
+
<para>
+
<link xlink:href="https://nginx.org">Nginx</link> has been updated to stable version 1.20.0.
+
Now nginx uses the zlib-ng library by default.
+
</para>
+
</listitem>
</itemizedlist>
</section>
+2 -2
pkgs/servers/http/nginx/mainline.nix
···
{ callPackage, ... }@args:
callPackage ./generic.nix args {
-
version = "1.19.9";
-
sha256 = "0hfqqyfgqa6wqazmb3d434nb3r5p8szfisa0m6nfh9lqdbqdyd9f";
+
version = "1.20.0";
+
sha256 = "072dn2qhgx20y4pfa3mi97qszbifhcnwj28ccin4iamwivn93vsl";
}
+2 -2
pkgs/servers/http/nginx/stable.nix
···
{ callPackage, ... } @ args:
callPackage ./generic.nix args {
-
version = "1.18.0";
-
sha256 = "16azscl74ym1far0s0p6xsjin1k1cm4wk80i9x5d74dznmx3wdsc";
+
version = "1.20.0";
+
sha256 = "072dn2qhgx20y4pfa3mi97qszbifhcnwj28ccin4iamwivn93vsl";
}
+3
pkgs/top-level/all-packages.nix
···
nginx = nginxStable;
nginxQuic = callPackage ../servers/http/nginx/quic.nix {
+
zlib = zlib-ng.override { withZlibCompat = true; };
withPerl = false;
# We don't use `with` statement here on purpose!
# See https://github.com/NixOS/nixpkgs/pull/10474/files#r42369334
···
nginxStable = callPackage ../servers/http/nginx/stable.nix {
+
zlib = zlib-ng.override { withZlibCompat = true; };
withPerl = false;
# We don't use `with` statement here on purpose!
# See https://github.com/NixOS/nixpkgs/pull/10474/files#r42369334
···
nginxMainline = callPackage ../servers/http/nginx/mainline.nix {
+
zlib = zlib-ng.override { withZlibCompat = true; };
withPerl = false;
# We don't use `with` statement here on purpose!
# See https://github.com/NixOS/nixpkgs/pull/10474/files#r42369334