Explicitly set CC_FOR_BUILD multiple places
Run nix flake check / build (push) Failing after 1m54s

This commit is contained in:
2026-05-31 19:48:45 +09:00
parent 510aff407e
commit 0fa835d36e
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -51,6 +51,7 @@ stdenv.mkDerivation (finalAttrs: {
env.NIX_CFLAGS_COMPILE = lib.concatStringsSep " " featureFlags;
env.NIX_CFLAGS_LINK = lib.optionalString features.ENABLE_FTS5 "-lm";
env.CC_FOR_BUILD = "${stdenv.cc.targetPrefix}cc";
makeFlags = [ "sqlite3.c" "sqlite3.h" ];