rcodesign: update to use the new SDK pattern on Darwin

This commit is contained in:
Randy Eckenrode
2024-10-21 22:13:00 -04:00
parent 35d2308f61
commit ef82ab6575
2 changed files with 3 additions and 5 deletions
+2 -4
View File
@@ -2,7 +2,7 @@
, stdenv
, rustPlatform
, fetchFromGitHub
, darwin
, apple-sdk_11
, uutils-coreutils
}:
@@ -17,9 +17,6 @@ rustPlatform.buildRustPackage rec {
hash = "sha256-F6Etl3Zbpmh3A/VeCcSXIy3W1WYFg8WUSJBJV/akCxU=";
};
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk_11_0.frameworks.Security
];
cargoPatches = [
# Update time to a version that is compatible with Rust 1.80
./update-time-rs-in-cargo-lock.patch
@@ -34,6 +31,7 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-VrexypkCW58asvzXo3wj/Rgi72tiGuchA31BkEZoYpI=";
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ apple-sdk_11 ];
cargoBuildFlags = [
# Only build the binary we want
+1 -1
View File
@@ -18207,7 +18207,7 @@ with pkgs;
hammer = callPackage ../development/tools/parsing/hammer { };
rcodesign = darwin.apple_sdk_11_0.callPackage ../development/tools/rcodesign {};
rcodesign = callPackage ../development/tools/rcodesign { };
rdocker = callPackage ../development/tools/rdocker { };