tdb: fix cross-compilation

This commit is contained in:
Ben Wolsieffer 2020-10-03 18:55:03 -04:00
parent aedc67d64f
commit d798074f03

View file

@ -19,6 +19,7 @@ stdenv.mkDerivation rec {
}; };
nativeBuildInputs = [ nativeBuildInputs = [
python3
pkg-config pkg-config
wafHook wafHook
libxslt libxslt
@ -38,6 +39,11 @@ stdenv.mkDerivation rec {
"--builtin-libraries=replace" "--builtin-libraries=replace"
]; ];
# python-config from build Python gives incorrect values when cross-compiling.
# If python-config is not found, the build falls back to using the sysconfig
# module, which works correctly in all cases.
PYTHON_CONFIG = "/invalid";
meta = with lib; { meta = with lib; {
description = "The trivial database"; description = "The trivial database";
longDescription = '' longDescription = ''