fbthrift: propagate required dependencies

This commit is contained in:
Emily
2024-11-18 17:44:15 +00:00
parent 3bdc69269d
commit 3dd6e0e71a
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
];