Skip to content

Commit 39f9f88

Browse files
committed
fix: fix builds on darwin for PHP <= 7.3
Context: #201 (comment) Related PR: #201
1 parent 7e53d72 commit 39f9f88

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pkgs/phps.nix

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,7 @@ let
4343

4444
"--enable-libxml"
4545
"--with-libxml-dir=${prev.libxml2.dev}"
46-
]
47-
++ prev.lib.optionals (prev.lib.versionAtLeast args.version "7.3") [
48-
"--with-pcre-regex=${prev.pcre2.dev}"
46+
"--with-pcre-regex=${prev.pcre2.dev}/include"
4947
];
5048

5149
buildInputs =

0 commit comments

Comments
 (0)