treewide: withIntrospection (host == build) -> (host.emulatorAvailable buildPackages)

cross-os (like linux -> *BSD) doesn't have emulators
This commit is contained in:
Artturin 2023-03-10 17:01:36 +02:00
parent 6169ccb87d
commit f69a8fabf1
4 changed files with 8 additions and 4 deletions

View file

@ -9,7 +9,8 @@
, help2man , help2man
, systemd , systemd
, bash-completion , bash-completion
, withIntrospection ? stdenv.hostPlatform == stdenv.buildPlatform , buildPackages
, withIntrospection ? stdenv.hostPlatform.emulatorAvailable buildPackages
, gobject-introspection , gobject-introspection
}: }:

View file

@ -8,7 +8,8 @@
, glib , glib
, gdk-pixbuf , gdk-pixbuf
, gnome , gnome
, withIntrospection ? (stdenv.buildPlatform == stdenv.hostPlatform) , buildPackages
, withIntrospection ? stdenv.hostPlatform.emulatorAvailable buildPackages
, gobject-introspection , gobject-introspection
}: }:

View file

@ -20,7 +20,8 @@
, python3Packages , python3Packages
, gnome , gnome
, vala , vala
, withIntrospection ? stdenv.hostPlatform == stdenv.buildPlatform , buildPackages
, withIntrospection ? stdenv.hostPlatform.emulatorAvailable buildPackages
, gobject-introspection , gobject-introspection
, _experimental-update-script-combinators , _experimental-update-script-combinators
, common-updater-scripts , common-updater-scripts

View file

@ -10,7 +10,8 @@
, libcap_ng , libcap_ng
, libvirt , libvirt
, libxml2 , libxml2
, withIntrospection ? stdenv.hostPlatform == stdenv.buildPlatform , buildPackages
, withIntrospection ? stdenv.hostPlatform.emulatorAvailable buildPackages
, gobject-introspection , gobject-introspection
, withDocs ? stdenv.hostPlatform == stdenv.buildPlatform , withDocs ? stdenv.hostPlatform == stdenv.buildPlatform
, gtk-doc , gtk-doc