about summary refs log tree commit diff
path: root/pkgs/development/libraries/at-spi2-core
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2023-10-12 13:13:57 +0000
committerAlyssa Ross <hi@alyssa.is>2023-10-12 13:25:31 +0000
commitaf82a43ffc5130257ba4639adfe291dbb7bb4ec9 (patch)
tree26aa2e0d2ba10570ba7b076eae00e2dcc47875c8 /pkgs/development/libraries/at-spi2-core
parent44ef6a13bf0aea330ad8a4737065f457b3c6cbbf (diff)
treewide: disable gobject-introspection when unavailable
This makes gsettings-desktop-schemas, harfbuzz, json-glib, and
libsecret buildable statically, and is still the right thing to do
everywhere else even where it's not a complete fix.
Diffstat (limited to 'pkgs/development/libraries/at-spi2-core')
-rw-r--r--pkgs/development/libraries/at-spi2-core/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/at-spi2-core/default.nix b/pkgs/development/libraries/at-spi2-core/default.nix
index d4c3cd394ce6c..2a47de8d5643f 100644
--- a/pkgs/development/libraries/at-spi2-core/default.nix
+++ b/pkgs/development/libraries/at-spi2-core/default.nix
@@ -7,7 +7,7 @@
 , pkg-config
 , gobject-introspection
 , buildPackages
-, withIntrospection ? stdenv.hostPlatform.emulatorAvailable buildPackages
+, withIntrospection ? lib.meta.availableOn stdenv.hostPlatform gobject-introspection && stdenv.hostPlatform.emulatorAvailable buildPackages
 , gsettings-desktop-schemas
 , makeWrapper
 , dbus