php: Add missing hash extension to php < 7.4

This commit is contained in:
talyz 2020-04-03 18:55:03 +02:00
parent 1345e5b763
commit b4d289a7ae
No known key found for this signature in database
GPG key ID: 2DED2151F4671A2B

View file

@ -252,9 +252,12 @@ let
tokenizer xmlreader xmlwriter zip zlib
] ++ lib.optionals (!stdenv.isDarwin) [ imap ]);
defaultPhpExtensionsWithHash = extensions:
(defaultPhpExtensions extensions) ++ [ extensions.hash ];
php74 = php74base.withExtensions defaultPhpExtensions;
php73 = php73base.withExtensions defaultPhpExtensions;
php72 = php72base.withExtensions defaultPhpExtensions;
php73 = php73base.withExtensions defaultPhpExtensionsWithHash;
php72 = php72base.withExtensions defaultPhpExtensionsWithHash;
in {
inherit php72base php73base php74base php72 php73 php74;