fbthrift: propagate required dependencies

(cherry picked from commit 3dd6e0e71a)
(cherry picked from commit 58e8c1a41f952aa4cb95ddd34e41bf60a42de430)
This commit is contained in:
Emily
2024-11-30 15:11:26 +01:00
committed by Vladimír Čunát
parent c9b3a4d101
commit 7ca0641e27
2 changed files with 6 additions and 4 deletions
+6 -2
View File
@@ -16,9 +16,10 @@
zlib,
zstd,
xxHash,
mvfst,
apple-sdk_11,
darwinMinVersionHook,
mvfst,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -48,13 +49,16 @@ stdenv.mkDerivation (finalAttrs: {
zlib
zstd
xxHash
mvfst
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
apple-sdk_11
(darwinMinVersionHook "11.0")
];
propagatedBuildInputs = [
mvfst
];
cmakeFlags =
[
(lib.cmakeBool "BUILD_SHARED_LIBS" (!stdenv.hostPlatform.isStatic))
@@ -6,7 +6,6 @@
, fizz
, folly
, glog
, mvfst
, python3
, wangle
}:
@@ -34,7 +33,6 @@ stdenv.mkDerivation rec {
fizz
folly
glog
mvfst
python3
wangle
];