From 3bd63f44d582db718e70cebb5f7c85e27cdc88e9 Mon Sep 17 00:00:00 2001 From: Niklas Korz Date: Fri, 1 Nov 2024 17:24:08 +0100 Subject: [PATCH] conduwuit: fix x86_64-darwin --- pkgs/by-name/co/conduwuit/package.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/co/conduwuit/package.nix b/pkgs/by-name/co/conduwuit/package.nix index 733b502246a02..f0ff83fe73b61 100644 --- a/pkgs/by-name/co/conduwuit/package.nix +++ b/pkgs/by-name/co/conduwuit/package.nix @@ -6,7 +6,8 @@ bzip2, zstd, stdenv, - darwin, + apple-sdk_15, + darwinMinVersionHook, rocksdb, nix-update-script, testers, @@ -63,7 +64,9 @@ rustPlatform.buildRustPackage rec { ++ lib.optional enableJemalloc rust-jemalloc-sys' ++ lib.optional enableLiburing liburing ++ lib.optionals stdenv.hostPlatform.isDarwin [ - darwin.apple_sdk.frameworks.Security + apple-sdk_15 + # aws-lc-sys requires CryptoKit's CommonCrypto, which is available on macOS 10.15+ + (darwinMinVersionHook "10.15") ]; env = {