Merge pull request #126165 from erdnaxe/backport

[21.05] libgudev: support cross-compilation by disabling introspection and vala
This commit is contained in:
Jörg Thalheim
2021-07-18 11:47:51 +01:00
committed by GitHub

View File

@@ -37,6 +37,9 @@ stdenv.mkDerivation rec {
mesonFlags = [
# There's a dependency cycle with umockdev and the tests fail to LD_PRELOAD anyway
"-Dtests=disabled"
] ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
"-Dintrospection=disabled"
"-Dvapi=disabled"
];
passthru = {