tdb: fix cross-compilation
This commit is contained in:
parent
aedc67d64f
commit
d798074f03
|
@ -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 = ''
|
||||||
|
|
Loading…
Reference in a new issue