Skip to content

Commit

Permalink
ntpd-rs: migrate to new darwin sdk pattern
Browse files Browse the repository at this point in the history
(cherry picked from commit 11da4f3)
  • Loading branch information
getchoo authored and github-actions[bot] committed Dec 17, 2024
1 parent b6e6ea6 commit 1025b04
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pkgs/by-name/nt/ntpd-rs/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
stdenv,
rustPlatform,
fetchFromGitHub,
apple-sdk_11,
ntpd-rs,
installShellFiles,
darwin,
pandoc,
nixosTests,
nix-update-script,
Expand All @@ -25,9 +25,8 @@ rustPlatform.buildRustPackage rec {

cargoHash = "sha256-ZB18YbCdJpuu7qTXdHgs2IgDCoc3Hs/aDn4dzXmKI8c=";

buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk_11_0.frameworks.Security
];
buildInputs = lib.optional stdenv.hostPlatform.isDarwin apple-sdk_11;

nativeBuildInputs = [
pandoc
installShellFiles
Expand Down

0 comments on commit 1025b04

Please sign in to comment.