From 769eb0923220a0de3f1e7ab6c51d50f5d6259709 Mon Sep 17 00:00:00 2001 From: Cody P Schafer Date: Thu, 14 Mar 2024 23:21:49 -0400 Subject: [PATCH] atuin: fix build on x86_64-darwin by updating to apple_sdk_11_0 Otherwise, fails to build with: ``` > = note: Undefined symbols for architecture x86_64: > "_kCFURLVolumeAvailableCapacityForImportantUsageKey", referenced from: > sysinfo::unix::apple::disk::get_list::h5f0b9b2218314fb0 in libsysinfo-48f55e52227ea9a5.rlib(sysinfo-48f55e52227ea9a5.sysinfo.81d4345a26454b80-cgu.10.rcgu.o) > ld: symbol(s) not found for architecture x86_64 > clang-16: error: linker command failed with exit code 1 (use -v to see invocation) > > > error: could not compile `atuin` (bin "atuin") due to 1 previous error ``` See #234678 for a similar fix on another package. --- pkgs/by-name/at/atuin/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/at/atuin/package.nix b/pkgs/by-name/at/atuin/package.nix index 866b411c46f2..3b8f6db5d6f2 100644 --- a/pkgs/by-name/at/atuin/package.nix +++ b/pkgs/by-name/at/atuin/package.nix @@ -36,9 +36,9 @@ rustPlatform.buildRustPackage rec { buildInputs = lib.optionals stdenv.isDarwin [ libiconv - darwin.apple_sdk.frameworks.AppKit - darwin.apple_sdk.frameworks.Security - darwin.apple_sdk.frameworks.SystemConfiguration + darwin.apple_sdk_11_0.frameworks.AppKit + darwin.apple_sdk_11_0.frameworks.Security + darwin.apple_sdk_11_0.frameworks.SystemConfiguration ]; postInstall = ''