Skip to content

Commit 098efbc

Browse files
nginx: disable aws-lc patch if we are at least on version 1.29.1
1 parent 7cd9ffc commit 098efbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/nginx.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ in
161161
# traps: nginx[xxxxxx] trap invalid opcode ip:7fa6c23ebe79 sp:7ffcceaaa9e0 error:0 in memfd:sljit[1e79,7fa6c23ea000+10000]
162162
pcre2 = pkgs.pcre2.override { withJitSealloc = false; };
163163
}).overrideAttrs ({ patches ? [ ], ... }: {
164-
patches = patches ++ [
164+
patches = patches ++ lib.optionals (lib.versionOlder pkg.version "1.29.2") [
165165
(let
166166
mjMn = lib.versions.majorMinor;
167167
# nginx 1.29 is supported since https://github.com/aws/aws-lc/commit/050d696415f2b7a07fc791ded31f5e12ec82f5fe

0 commit comments

Comments
 (0)