Unverified Commit ef82ab65 authored by Randy Eckenrode's avatar Randy Eckenrode
Browse files

rcodesign: update to use the new SDK pattern on Darwin

parent 35d2308f
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -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
Original line number Diff line number Diff line
@@ -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 { };