From 0fd590bab8786d08bfaf56e6554fc95e8a5836b9 Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Sat, 9 Nov 2024 21:53:47 -0800 Subject: [PATCH] coldsnap: use new Darwin SDK pattern --- pkgs/tools/admin/coldsnap/default.nix | 4 +--- pkgs/top-level/all-packages.nix | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/pkgs/tools/admin/coldsnap/default.nix b/pkgs/tools/admin/coldsnap/default.nix index 23360dc7f726..cebf69b70a6a 100644 --- a/pkgs/tools/admin/coldsnap/default.nix +++ b/pkgs/tools/admin/coldsnap/default.nix @@ -2,8 +2,6 @@ , rustPlatform , fetchFromGitHub , openssl -, stdenv -, Security , pkg-config }: @@ -19,7 +17,7 @@ rustPlatform.buildRustPackage rec { }; cargoHash = "sha256-ngkoxybl52zTH4wo+sIUtU8vtzOAp+jU1RyTO2KbCgU="; - buildInputs = [ openssl ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ Security ]; + buildInputs = [ openssl ]; nativeBuildInputs = [ pkg-config ]; meta = with lib; { diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6b3898abc936..21342bd6eb38 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -301,9 +301,7 @@ with pkgs; cocogitto = callPackage ../development/tools/cocogitto { }; - coldsnap = callPackage ../tools/admin/coldsnap { - inherit (darwin.apple_sdk.frameworks) Security; - }; + coldsnap = callPackage ../tools/admin/coldsnap { }; collision = callPackage ../applications/misc/collision { };