libgudev: support cross-compilation by disabling introspection and vala

This commit is contained in:
Rick van Schijndel 2021-05-22 00:00:00 +02:00
parent 3806f9c991
commit 05aa68850c

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 = {