Merge pull request #305597 from newAM/cargo-spellcheck-fix
cargo-spellcheck: fix build
This commit is contained in:
commit
32d54367c1
1 changed files with 5 additions and 0 deletions
|
@ -19,6 +19,11 @@ rustPlatform.buildRustPackage rec {
|
|||
|
||||
cargoHash = "sha256-6dhM+FzuLtKtRp2mpE9nlpT+0PBcgGqvBa9vqs6Rs7s=";
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/lib.rs \
|
||||
--replace "#![deny(dead_code)]" "#![warn(dead_code)]"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ rustPlatform.bindgenHook ];
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ Security SystemConfiguration ];
|
||||
|
|
Loading…
Reference in a new issue