diff --git a/pkgs/top-level/php-packages.nix b/pkgs/top-level/php-packages.nix index bd992e56964a5..f96698356ef1e 100644 --- a/pkgs/top-level/php-packages.nix +++ b/pkgs/top-level/php-packages.nix @@ -543,7 +543,7 @@ lib.makeScope pkgs.newScope (self: with self; { { name = "pgsql"; buildInputs = [ pcre2 ]; - configureFlags = [ "--with-pgsql=${postgresql}" ]; + configureFlags = [ "--with-pgsql=${lib.getDev postgresql}" ]; doCheck = false; } { name = "posix"; doCheck = false; }