phpPackages.exts: Add alias so we have the right pcre lib

This commit is contained in:
Elis Hirwing 2020-03-14 08:48:41 +01:00
parent b2933434f5
commit 387d52106a
No known key found for this signature in database
GPG Key ID: D57EFA625C9A925F

View File

@ -728,7 +728,9 @@ let
# want to build.
#
# These will be passed as arguments to mkExtension above.
extensionData = [
extensionData = let
pcre' = if (lib.versionAtLeast php.version "7.3") then pcre2 else pcre;
in [
];
# Convert the list of attrs: