Merge pull request #263715 from aaronjheng/cargo-spellcheck

cargo-spellcheck: fix build on Darwin

authored by

Matthias Beyer and committed by
GitHub
0d4a1a20 37ee83ed

+3 -2
+2 -1
pkgs/development/tools/rust/cargo-spellcheck/default.nix
··· 3 3 , fetchFromGitHub 4 4 , stdenv 5 5 , Security 6 + , SystemConfiguration 6 7 }: 7 8 8 9 rustPlatform.buildRustPackage rec { ··· 20 21 21 22 nativeBuildInputs = [ rustPlatform.bindgenHook ]; 22 23 23 - buildInputs = lib.optional stdenv.isDarwin Security; 24 + buildInputs = lib.optionals stdenv.isDarwin [ Security SystemConfiguration ]; 24 25 25 26 preCheck = "HOME=$(mktemp -d)"; 26 27
+1 -1
pkgs/top-level/all-packages.nix
··· 17166 17166 17167 17167 cargo-sort = callPackage ../development/tools/rust/cargo-sort { }; 17168 17168 cargo-spellcheck = callPackage ../development/tools/rust/cargo-spellcheck { 17169 - inherit (darwin.apple_sdk.frameworks) Security; 17169 + inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration; 17170 17170 }; 17171 17171 cargo-supply-chain = callPackage ../development/tools/rust/cargo-supply-chain { }; 17172 17172 cargo-sweep = callPackage ../development/tools/rust/cargo-sweep { };