Unverified Commit 7d98bd5b authored by Theodore Ni's avatar Theodore Ni
Browse files

eludris: use new Darwin SDK pattern

parent b7cdb23d
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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; {
+1 −3
Original line number Diff line number Diff line
@@ -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 { };