coldsnap: use new Darwin SDK pattern

This commit is contained in:
Theodore Ni
2024-11-11 00:08:43 -08:00
parent 8079fe3967
commit 0fd590bab8
2 changed files with 2 additions and 6 deletions
+1 -3
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; {
+1 -3
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 { };