mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 16:15:05 +00:00
dbd0f3e957
Not strictly an upgrade, but adds a new mongodb-4_2 target with the current mongodb from that branch. Use matching client and server versions in mongodb tests- tests were using the mongo 3.4 client to connect, and this finally doesn't work with server 4.2. Per reviewer suggestion, adding myself as cheetah3 maintainer. Additionally, reestore comments describing the purpose of the build-dependencies patch
17 lines
779 B
Diff
17 lines
779 B
Diff
# MongoDB keeps track of its build parameters, which tricks nix into
|
|
# keeping dependencies to build inputs in the final output.
|
|
# We remove the build flags from buildInfo data.
|
|
--- a/site_scons/mongo/generators.py
|
|
+++ b/site_scons/mongo/generators.py
|
|
@@ -18,10 +18,7 @@ def default_buildinfo_environment_data():
|
|
('distmod', '$MONGO_DISTMOD', True, True,),
|
|
('distarch', '$MONGO_DISTARCH', True, True,),
|
|
('cc', '$CC_VERSION', True, False,),
|
|
- ('ccflags', '$CCFLAGS', True, False,),
|
|
('cxx', '$CXX_VERSION', True, False,),
|
|
- ('cxxflags', '$CXXFLAGS', True, False,),
|
|
- ('linkflags', '$LINKFLAGS', True, False,),
|
|
('target_arch', '$TARGET_ARCH', True, True,),
|
|
('target_os', '$TARGET_OS', True, False,),
|
|
)
|