Skip to content

Commit

Permalink
atuin: fix build on x86_64-darwin by updating to apple_sdk_11_0
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
codyps committed Mar 15, 2024
1 parent f242fc7 commit 769eb09
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkgs/by-name/at/atuin/package.nix
Expand Up @@ -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 = ''
Expand Down

0 comments on commit 769eb09

Please sign in to comment.