eludris: use new Darwin SDK pattern
This commit is contained in:
parent
b7cdb23dae
commit
7d98bd5b52
@ -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; {
|
||||
|
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user