openresty: fix lib.optional misuse in configureFlags

This commit is contained in:
Rylan Polster
2026-05-12 18:00:44 -04:00
parent db3e7db808
commit ad73c80d33
+1 -1
View File
@@ -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