php-packages/mongodb: fix evaluation on darwin

Regressed in 5ad7fb28 (PR #114551).
It was a channel blocker, through the tarball job:
https://hydra.nixos.org/build/137987705
This commit is contained in:
Vladimír Čunát 2021-02-27 18:43:22 +01:00
parent 31a050c427
commit d2b35b0fc6
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -15,7 +15,7 @@ buildPecl {
snappy
zlib
pcre'
] ++ lib.optionals (stdenv.isDarwin) darwin.apple_sdk.frameworks.Security;
] ++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
meta.maintainers = lib.teams.php.members;
}