cargo-spellcheck: fix build with gcc15

This commit is contained in:
Alex Martens
2026-01-04 10:39:38 -08:00
parent 34b36aae1d
commit 4ce3a4d1b8
@@ -2,6 +2,7 @@
lib,
rustPlatform,
fetchFromGitHub,
stdenv,
}:
rustPlatform.buildRustPackage rec {
@@ -19,6 +20,8 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ rustPlatform.bindgenHook ];
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isGNU "-std=gnu17";
preCheck = "HOME=$(mktemp -d)";
checkFlags = [