Merge pull request #217341 from alejandro-angulo/fix-ldb-cross-compile-64bit-to-32bit

This commit is contained in:
Artturi 2023-02-27 17:52:33 +02:00 committed by GitHub
commit 61d7ce1813
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,6 +63,11 @@ stdenv.mkDerivation rec {
"--without-ldb-lmdb"
];
# 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";
stripDebugList = [ "bin" "lib" "modules" ];
meta = with lib; {