lune: use new darwin sdk pattern

This commit is contained in:
uncenter
2025-01-21 06:45:56 -05:00
parent 7d0f11e52e
commit 323827b6bf
-10
View File
@@ -4,13 +4,8 @@
rustPlatform,
fetchFromGitHub,
pkg-config,
darwin,
cmake,
}:
let
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
in
rustPlatform.buildRustPackage rec {
pname = "lune";
version = "0.8.9";
@@ -30,11 +25,6 @@ rustPlatform.buildRustPackage rec {
cmake # required for libz-ng-sys
];
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
Security
SystemConfiguration
];
# error: linker `aarch64-linux-gnu-gcc` not found
postPatch = ''
rm .cargo/config.toml