mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-24 20:02:58 +03:00
polkit: don't build with gobject-introspection when cross-compiling
gobject-introspection doesn't currently cross-compile (see https://github.com/NixOS/nixpkgs/pull/88222), but polkit is somewhat essential for many system components. By disabling gobject-introspection when cross-compiling, we get it to build.
This commit is contained in:
parent
c0a9361687
commit
4f087a608e
@ -2,7 +2,8 @@
|
||||
, intltool, spidermonkey_78, gobject-introspection, libxslt, docbook_xsl, dbus
|
||||
, docbook_xml_dtd_412, gtk-doc, coreutils
|
||||
, useSystemd ? (stdenv.isLinux && !stdenv.hostPlatform.isMusl), systemd, elogind
|
||||
, withIntrospection ? true
|
||||
# needed until gobject-introspection does cross-compile (https://github.com/NixOS/nixpkgs/pull/88222)
|
||||
, withIntrospection ? (stdenv.buildPlatform == stdenv.hostPlatform)
|
||||
# A few tests currently fail on musl (polkitunixusertest, polkitunixgrouptest, polkitidentitytest segfault).
|
||||
# Not yet investigated; it may be due to the "Make netgroup support optional"
|
||||
# patch not updating the tests correctly yet, or doing something wrong,
|
||||
|
Loading…
Reference in New Issue
Block a user