eludris: use new Darwin SDK pattern

This commit is contained in:
Theodore Ni 2024-11-09 22:18:37 -08:00
parent b7cdb23dae
commit 7d98bd5b52
No known key found for this signature in database
GPG Key ID: 48B67583BDDD4474
2 changed files with 2 additions and 6 deletions

View File

@ -3,8 +3,6 @@
, rustPlatform
, openssl
, pkg-config
, stdenv
, Security
}:
rustPlatform.buildRustPackage rec {
@ -22,7 +20,7 @@ rustPlatform.buildRustPackage rec {
cargoBuildFlags = [ "-p eludris" ];
cargoTestFlags = [ "-p eludris" ];
buildInputs = [ openssl ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
buildInputs = [ openssl ];
nativeBuildInputs = [ pkg-config ];
meta = with lib; {

View File

@ -339,9 +339,7 @@ with pkgs;
edgedb = callPackage ../tools/networking/edgedb { };
eludris = callPackage ../tools/misc/eludris {
inherit (darwin.apple_sdk.frameworks) Security;
};
eludris = callPackage ../tools/misc/eludris { };
enochecker-test = with python3Packages; callPackage ../development/tools/enochecker-test { };