Merge pull request #311304 from alyssais/glib-introspection-cross-endian

glib: disable introspection for cross-endian
This commit is contained in:
Artturin 2024-05-14 00:48:37 +03:00 committed by GitHub
commit dcdbcb67ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,7 +23,10 @@
, testers
, gobject-introspection
, mesonEmulatorHook
, withIntrospection ? stdenv.hostPlatform.emulatorAvailable buildPackages && lib.meta.availableOn stdenv.hostPlatform gobject-introspection
, withIntrospection ?
stdenv.hostPlatform.emulatorAvailable buildPackages &&
lib.meta.availableOn stdenv.hostPlatform gobject-introspection &&
stdenv.hostPlatform.isLittleEndian == stdenv.buildPlatform.isLittleEndian
}:
assert stdenv.isLinux -> util-linuxMinimal != null;