coldsnap: use new Darwin SDK pattern
This commit is contained in:
parent
8079fe3967
commit
0fd590bab8
@ -2,8 +2,6 @@
|
|||||||
, rustPlatform
|
, rustPlatform
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, openssl
|
, openssl
|
||||||
, stdenv
|
|
||||||
, Security
|
|
||||||
, pkg-config
|
, pkg-config
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -19,7 +17,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
};
|
};
|
||||||
cargoHash = "sha256-ngkoxybl52zTH4wo+sIUtU8vtzOAp+jU1RyTO2KbCgU=";
|
cargoHash = "sha256-ngkoxybl52zTH4wo+sIUtU8vtzOAp+jU1RyTO2KbCgU=";
|
||||||
|
|
||||||
buildInputs = [ openssl ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
|
buildInputs = [ openssl ];
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -301,9 +301,7 @@ with pkgs;
|
|||||||
|
|
||||||
cocogitto = callPackage ../development/tools/cocogitto { };
|
cocogitto = callPackage ../development/tools/cocogitto { };
|
||||||
|
|
||||||
coldsnap = callPackage ../tools/admin/coldsnap {
|
coldsnap = callPackage ../tools/admin/coldsnap { };
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
|
||||||
};
|
|
||||||
|
|
||||||
collision = callPackage ../applications/misc/collision { };
|
collision = callPackage ../applications/misc/collision { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user