edencommon: convert to new Darwin SDK pattern

This commit is contained in:
Emily
2024-11-18 17:44:34 +00:00
parent c20f387524
commit 3c14c26a35
2 changed files with 13 additions and 10 deletions
@@ -6,6 +6,8 @@
folly,
glog,
gtest,
apple-sdk_11,
darwinMinVersionHook,
}:
stdenv.mkDerivation rec {
@@ -26,15 +28,16 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
cmakeFlags = lib.optionals stdenv.hostPlatform.isDarwin [
"-DCMAKE_OSX_DEPLOYMENT_TARGET=10.14" # For aligned allocation
];
buildInputs = [
glog
folly
gtest
];
buildInputs =
[
glog
folly
gtest
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
apple-sdk_11
(darwinMinVersionHook "11.0")
];
meta = with lib; {
description = "Shared library for Meta's source control filesystem tools (EdenFS and Watchman)";
+1 -1
View File
@@ -9196,7 +9196,7 @@ with pkgs;
stdenv = if stdenv.hostPlatform.isDarwin then gccStdenv else stdenv;
};
edencommon = darwin.apple_sdk_11_0.callPackage ../development/libraries/edencommon { };
edencommon = callPackage ../development/libraries/edencommon { };
eigen = callPackage ../development/libraries/eigen { };