mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 04:33:57 +00:00
36 lines
882 B
Diff
36 lines
882 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
|
||
|
@@ -33,30 +33,12 @@ def default_buildinfo_environment_data():
|
||
|
True,
|
||
|
False,
|
||
|
),
|
||
|
- (
|
||
|
- 'ccflags',
|
||
|
- '$CCFLAGS',
|
||
|
- True,
|
||
|
- False,
|
||
|
- ),
|
||
|
(
|
||
|
'cxx',
|
||
|
'$CXX_VERSION',
|
||
|
True,
|
||
|
False,
|
||
|
),
|
||
|
- (
|
||
|
- 'cxxflags',
|
||
|
- '$CXXFLAGS',
|
||
|
- True,
|
||
|
- False,
|
||
|
- ),
|
||
|
- (
|
||
|
- 'linkflags',
|
||
|
- '$LINKFLAGS',
|
||
|
- True,
|
||
|
- False,
|
||
|
- ),
|
||
|
(
|
||
|
'target_arch',
|
||
|
'$TARGET_ARCH',
|