openresty: fix lib.optional misuse in configureFlags
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user