headers: remove tcl, explicitly set CC_FOR_BUILD
Run nix flake check / build (push) Failing after 1m58s
Run nix flake check / build (push) Failing after 1m58s
This commit is contained in:
+1
-2
@@ -8,7 +8,6 @@
|
|||||||
stdenv,
|
stdenv,
|
||||||
|
|
||||||
unzip,
|
unzip,
|
||||||
tcl,
|
|
||||||
zlib,
|
zlib,
|
||||||
icu,
|
icu,
|
||||||
|
|
||||||
@@ -24,7 +23,6 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
unzip
|
unzip
|
||||||
tcl
|
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
@@ -50,6 +48,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
|
|
||||||
env.NIX_CFLAGS_COMPILE = lib.concatStringsSep " " featureFlags;
|
env.NIX_CFLAGS_COMPILE = lib.concatStringsSep " " featureFlags;
|
||||||
env.NIX_CFLAGS_LINK = lib.optionalString features.ENABLE_FTS5 "-lm";
|
env.NIX_CFLAGS_LINK = lib.optionalString features.ENABLE_FTS5 "-lm";
|
||||||
|
env.CC_FOR_BUILD = "${stdenv.cc.targetPrefix}cc";
|
||||||
|
|
||||||
makeFlags = [ "sqlite3.h" ];
|
makeFlags = [ "sqlite3.h" ];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user