Unverified Commit 150228cb authored by Aaron Jheng's avatar Aaron Jheng
Browse files

cargo-spellcheck: fix build on Darwin

parent 77ed358e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
, fetchFromGitHub
, stdenv
, Security
, SystemConfiguration
}:

rustPlatform.buildRustPackage rec {
@@ -20,7 +21,7 @@ rustPlatform.buildRustPackage rec {

  nativeBuildInputs = [ rustPlatform.bindgenHook ];

  buildInputs = lib.optional stdenv.isDarwin Security;
  buildInputs = lib.optionals stdenv.isDarwin [ Security SystemConfiguration ];

  preCheck = "HOME=$(mktemp -d)";

+1 −1
Original line number Diff line number Diff line
@@ -17166,7 +17166,7 @@ with pkgs;
  cargo-sort = callPackage ../development/tools/rust/cargo-sort { };
  cargo-spellcheck = callPackage ../development/tools/rust/cargo-spellcheck {
    inherit (darwin.apple_sdk.frameworks) Security;
    inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
  };
  cargo-supply-chain = callPackage ../development/tools/rust/cargo-supply-chain { };
  cargo-sweep = callPackage ../development/tools/rust/cargo-sweep { };