···49 nativeBuildInputs = [ scons ];
50 inherit buildInputs;
5152- # When not building with the system valgrind, the build should use the
53- # vendored header file - regardless of whether or not we're using the system
54- # tcmalloc - so we need to lift the include path manipulation out of the
55- # conditional.
56 patches =
57- [ ./valgrind-include.patch
000000000058 (fetchpatch {
59 url = https://projects.archlinux.org/svntogit/community.git/plain/trunk/boost160.patch?h=packages/mongodb;
60 name = "boost160.patch";
···49 nativeBuildInputs = [ scons ];
50 inherit buildInputs;
51000052 patches =
53+ [
54+ # When not building with the system valgrind, the build should use the
55+ # vendored header file - regardless of whether or not we're using the system
56+ # tcmalloc - so we need to lift the include path manipulation out of the
57+ # conditional.
58+ ./valgrind-include.patch
59+60+ # MongoDB keeps track of its build parameters, which tricks nix into
61+ # keeping dependencies to build inputs in the final output.
62+ # We remove the build flags from buildInfo data.
63+ ./forget-build-dependencies.patch
64 (fetchpatch {
65 url = https://projects.archlinux.org/svntogit/community.git/plain/trunk/boost160.patch?h=packages/mongodb;
66 name = "boost160.patch";