diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2024-02-05 00:30:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-05 00:30:23 +0100 |
commit | 66c2db03819bfa8f6570279dfe5a2472e7472283 (patch) | |
tree | 4f46d8abc68e1f5477a0476a240151101297408d /pkgs/servers/nosql | |
parent | f7712b90582a4cd893fd02c9d6efb15b8242315d (diff) | |
parent | 0cfd256a8150ebd938448784a78af9c6f1b1cc77 (diff) | |
download | nixlib-66c2db03819bfa8f6570279dfe5a2472e7472283.tar nixlib-66c2db03819bfa8f6570279dfe5a2472e7472283.tar.gz nixlib-66c2db03819bfa8f6570279dfe5a2472e7472283.tar.bz2 nixlib-66c2db03819bfa8f6570279dfe5a2472e7472283.tar.lz nixlib-66c2db03819bfa8f6570279dfe5a2472e7472283.tar.xz nixlib-66c2db03819bfa8f6570279dfe5a2472e7472283.tar.zst nixlib-66c2db03819bfa8f6570279dfe5a2472e7472283.zip |
Merge pull request #284605 from devusb/mongodb-darwin
mongodb: mask Linux-only buildInputs on other platforms
Diffstat (limited to 'pkgs/servers/nosql')
-rw-r--r-- | pkgs/servers/nosql/mongodb/mongodb.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/servers/nosql/mongodb/mongodb.nix b/pkgs/servers/nosql/mongodb/mongodb.nix index f76236fc8be4..c37f06d5e8bd 100644 --- a/pkgs/servers/nosql/mongodb/mongodb.nix +++ b/pkgs/servers/nosql/mongodb/mongodb.nix @@ -97,14 +97,15 @@ in stdenv.mkDerivation rec { libpcap yaml-cpp openssl - net-snmp openldap pcre-cpp variants.python sasl snappy zlib - ] ++ lib.optionals stdenv.isDarwin [ Security CoreFoundation cctools ]; + ] ++ lib.optionals stdenv.isDarwin [ Security CoreFoundation cctools ] + ++ lib.optionals stdenv.isLinux [ net-snmp ]; + # MongoDB keeps track of its build parameters, which tricks nix into # keeping dependencies to build inputs in the final output. |