Merge pull request #234471 from wegank/cargo-spellcheck-refactor
cargo-spellcheck: migrate to bindgenHook
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, libclang
|
||||
, stdenv
|
||||
, Security
|
||||
}:
|
||||
@@ -19,9 +18,9 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
cargoSha256 = "sha256-hYCDpSKi7HlqwdnMnfnKw46VpO+bhsV11kIu/4yMaBw=";
|
||||
|
||||
buildInputs = lib.optional stdenv.isDarwin Security;
|
||||
nativeBuildInputs = [ rustPlatform.bindgenHook ];
|
||||
|
||||
LIBCLANG_PATH = "${libclang.lib}/lib";
|
||||
buildInputs = lib.optional stdenv.isDarwin Security;
|
||||
|
||||
preCheck = "HOME=$(mktemp -d)";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user