From ad73c80d33f7a556e52106f2cfd61bf4c7873470 Mon Sep 17 00:00:00 2001 From: Rylan Polster Date: Tue, 12 May 2026 18:00:44 -0400 Subject: [PATCH] openresty: fix lib.optional misuse in configureFlags --- pkgs/servers/http/openresty/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/servers/http/openresty/default.nix b/pkgs/servers/http/openresty/default.nix index f527e6a6adb3..8e60573f4a51 100644 --- a/pkgs/servers/http/openresty/default.nix +++ b/pkgs/servers/http/openresty/default.nix @@ -49,7 +49,7 @@ callPackage ../nginx/generic.nix args rec { patchShebangs configure bundle/ ''; - configureFlags = lib.optional withPostgres [ "--with-http_postgres_module" ]; + configureFlags = lib.optionals withPostgres [ "--with-http_postgres_module" ]; postInstall = '' ln -s $out/luajit/bin/luajit-2.1.ROLLING $out/bin/luajit-openresty