libgudev: support cross-compilation by disabling introspection and vala
This commit is contained in:
parent
3806f9c991
commit
05aa68850c
|
@ -37,6 +37,9 @@ stdenv.mkDerivation rec {
|
||||||
mesonFlags = [
|
mesonFlags = [
|
||||||
# There's a dependency cycle with umockdev and the tests fail to LD_PRELOAD anyway
|
# There's a dependency cycle with umockdev and the tests fail to LD_PRELOAD anyway
|
||||||
"-Dtests=disabled"
|
"-Dtests=disabled"
|
||||||
|
] ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
|
||||||
|
"-Dintrospection=disabled"
|
||||||
|
"-Dvapi=disabled"
|
||||||
];
|
];
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
|
|
Loading…
Reference in a new issue