git.iko.soy/typeable/nixpkgs
on master help sign in
mongodb: 3.2.9 -> 3.4.2
commit107a11f5737cf7c5b2ffbddea6e7683dfffe6575 authorAvaq <aldwin.vlasblom@gmail.com> dateFri 20 Jan 2017, 18:26 (10 years ago) parent737b466
2 files changed+3−34
pkgs/servers/nosql/mongodb/default.nix+3−9 pkgs/servers/nosql/mongodb/valgrind-include.patch−25
pkgs/servers/nosql/mongodb/default.nix+3−9
@@ -7,7 +7,7 @@
77
88with stdenv.lib;
99
10−let version = "3.2.9";
10+let version = "3.4.2";
1111 system-libraries = [
1212 "pcre"
1313 #"asio" -- XXX use package?
@@ -43,8 +43,8 @@ in stdenv.mkDerivation rec {
4343 name = "mongodb-${version}";
4444
4545 src = fetchurl {
46− url = "http://downloads.mongodb.org/src/mongodb-src-r${version}.tar.gz";
47− sha256 = "06q6j2bjy31pjwqws53wdpmn2x8w2hafzsnv1s3wx15pc9vq3y15";
46+ url = "https://fastdl.mongodb.org/src/mongodb-src-r${version}.tar.gz";
47+ sha256 = "0n8vspccrpd2z9xk3yjpz4gprd730dfacw914ksjzz9iadn0zdi9";
4848 };
4949
5050 nativeBuildInputs = [ scons ];
@@ -52,12 +52,6 @@ in stdenv.mkDerivation rec {
5252
5353 patches =
5454 [
55− # When not building with the system valgrind, the build should use the
56− # vendored header file - regardless of whether or not we're using the system
57− # tcmalloc - so we need to lift the include path manipulation out of the
58− # conditional.
59− ./valgrind-include.patch
60−
6155 # MongoDB keeps track of its build parameters, which tricks nix into
6256 # keeping dependencies to build inputs in the final output.
6357 # We remove the build flags from buildInfo data.
pkgs/servers/nosql/mongodb/valgrind-include.patchdeleted−25
@@ -1,25 +0,0 @@
1−diff --git a/src/mongo/util/SConscript b/src/mongo/util/SConscript
2−index 6add602..6e232d8 100644
3−--- a/src/mongo/util/SConscript
4−+++ b/src/mongo/util/SConscript
5−@@ -241,9 +241,6 @@ if get_option('allocator') == 'tcmalloc':
6− # Add in the include path for our vendored tcmalloc.
7− tcmspEnv.InjectThirdPartyIncludePaths('gperftools')
8−
9−- # Include valgrind since tcmalloc disables itself while running under valgrind
10−- tcmspEnv.InjectThirdPartyIncludePaths('valgrind')
11−-
12− # If our changes to tcmalloc are ever upstreamed, this should become set based on a top
13− # level configure check, though its effects should still be scoped just to these files.
14− tcmspEnv.Append(
15−@@ -252,6 +249,10 @@ if get_option('allocator') == 'tcmalloc':
16− ]
17− )
18−
19−+ # Include valgrind since tcmalloc disables itself while running under valgrind
20−+ if not use_system_version_of_library('valgrind'):
21−+ tcmspEnv.InjectThirdPartyIncludePaths('valgrind')
22−+
23− tcmspEnv.Library(
24− target='tcmalloc_set_parameter',
25− source=[