coldsnap: use new Darwin SDK pattern

This commit is contained in:
Theodore Ni 2024-11-09 21:53:47 -08:00
parent 8079fe3967
commit 0fd590bab8
No known key found for this signature in database
GPG Key ID: 48B67583BDDD4474
2 changed files with 2 additions and 6 deletions

View File

@ -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; {

View File

@ -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 { };