phpExtensions.mongodb: prevent buildPecl
to always use the same version of PHP
This commit is contained in:
parent
f17756768b
commit
bcb9b2b723
|
@ -1,5 +1,5 @@
|
|||
{ stdenv
|
||||
, php
|
||||
, buildPecl
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
, libiconv
|
||||
|
@ -10,11 +10,10 @@
|
|||
, openssl
|
||||
, snappy
|
||||
, zlib
|
||||
, Security
|
||||
, Libsystem
|
||||
, darwin
|
||||
}:
|
||||
|
||||
php.buildPecl rec {
|
||||
buildPecl rec {
|
||||
pname = "mongodb";
|
||||
version = "1.16.1";
|
||||
|
||||
|
@ -35,8 +34,8 @@ php.buildPecl rec {
|
|||
zlib
|
||||
pcre2
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
Security
|
||||
Libsystem
|
||||
darwin.apple_sdk_11_0.frameworks.Security
|
||||
darwin.apple_sdk_11_0.Libsystem
|
||||
libiconv
|
||||
];
|
||||
|
||||
|
|
|
@ -247,9 +247,8 @@ lib.makeScope pkgs.newScope (self: with self; {
|
|||
|
||||
memcached = callPackage ../development/php-packages/memcached { };
|
||||
|
||||
mongodb = pkgs.darwin.apple_sdk_11_0.callPackage ../development/php-packages/mongodb {
|
||||
inherit (pkgs.darwin.apple_sdk_11_0.frameworks) Security;
|
||||
inherit (pkgs.darwin.apple_sdk_11_0) Libsystem;
|
||||
mongodb = callPackage ../development/php-packages/mongodb {
|
||||
inherit (pkgs) darwin;
|
||||
};
|
||||
|
||||
msgpack = callPackage ../development/php-packages/msgpack { };
|
||||
|
|
Loading…
Reference in a new issue