Merge pull request #288179 from NickCao/foundationdb-msgpack
foundationdb: use msgpack-cxx instead of msgpack
This commit is contained in:
commit
110b0eb2e5
2 changed files with 10 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
{ lib, fetchFromGitHub
|
||||
, cmake, ninja, python3, openjdk8, mono, pkg-config
|
||||
, msgpack, toml11
|
||||
, msgpack-cxx, toml11
|
||||
|
||||
, gccStdenv, llvmPackages
|
||||
, useClang ? false
|
||||
|
@ -37,7 +37,7 @@ let
|
|||
inherit rev hash;
|
||||
};
|
||||
|
||||
buildInputs = [ ssl boost msgpack toml11 ];
|
||||
buildInputs = [ ssl boost msgpack-cxx toml11 ];
|
||||
|
||||
nativeBuildInputs = [ pkg-config cmake ninja python3 openjdk8 mono ]
|
||||
++ lib.optionals useClang [ llvmPackages.lld ];
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
{ gccStdenv, llvmPackages
|
||||
, lib, fetchFromGitHub
|
||||
, lib, fetchFromGitHub, fetchpatch
|
||||
|
||||
, cmake, ninja, python3, openjdk8, mono, openssl, boost178
|
||||
, pkg-config, msgpack, toml11
|
||||
, pkg-config, msgpack-cxx, toml11
|
||||
}@args:
|
||||
|
||||
let
|
||||
|
@ -19,6 +19,12 @@ in {
|
|||
./patches/don-t-run-tests-requiring-doctest.patch
|
||||
./patches/don-t-use-static-boost-libs.patch
|
||||
./patches/fix-open-with-O_CREAT.patch
|
||||
# GetMsgpack: add 4+ versions of upstream
|
||||
# https://github.com/apple/foundationdb/pull/10935
|
||||
(fetchpatch {
|
||||
url = "https://github.com/apple/foundationdb/commit/c35a23d3f6b65698c3b888d76de2d93a725bff9c.patch";
|
||||
hash = "sha256-bneRoZvCzJp0Hp/G0SzAyUyuDrWErSpzv+ickZQJR5w=";
|
||||
})
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue