Commit 3c8a8010 authored by figsoda's avatar figsoda
Browse files

cargo-nextest: fix build on darwin

parent b5f04b80
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
{ lib, rustPlatform, fetchFromGitHub, stdenv, Security }:
{ lib, rustPlatform, fetchFromGitHub, stdenv, darwin }:

rustPlatform.buildRustPackage rec {
  pname = "cargo-nextest";
@@ -13,7 +13,9 @@ rustPlatform.buildRustPackage rec {

  cargoHash = "sha256-IU2oW00VzEV8p3BpqIJZwXvdcaeweAF9nGHwtX+98vY=";

  buildInputs = lib.optionals stdenv.isDarwin [ Security ];
  buildInputs = lib.optionals stdenv.isDarwin [
    darwin.apple_sdk.frameworks.SystemConfiguration
  ];

  cargoBuildFlags = [ "-p" "cargo-nextest" ];
  cargoTestFlags = [ "-p" "cargo-nextest" ];
+1 −3
Original line number Diff line number Diff line
@@ -17144,9 +17144,7 @@ with pkgs;
    inherit (darwin.apple_sdk.frameworks) CoreGraphics Foundation;
  };
  cargo-nextest = callPackage ../development/tools/rust/cargo-nextest {
    inherit (darwin.apple_sdk.frameworks) Security;
  };
  cargo-nextest = callPackage ../development/tools/rust/cargo-nextest { };
  cargo-play = callPackage ../development/tools/rust/cargo-play { };
  cargo-profiler = callPackage ../development/tools/rust/cargo-profiler { };
  cargo-raze = callPackage ../development/tools/rust/cargo-raze {