summary refs log tree commit diff
path: root/pkgs/os-specific/linux/upower
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/os-specific/linux/upower
parent44ef6a13bf0aea330ad8a4737065f457b3c6cbbf (diff)
downloadnixpkgs-af82a43ffc5130257ba4639adfe291dbb7bb4ec9.tar
nixpkgs-af82a43ffc5130257ba4639adfe291dbb7bb4ec9.tar.gz
nixpkgs-af82a43ffc5130257ba4639adfe291dbb7bb4ec9.tar.bz2
nixpkgs-af82a43ffc5130257ba4639adfe291dbb7bb4ec9.tar.lz
nixpkgs-af82a43ffc5130257ba4639adfe291dbb7bb4ec9.tar.xz
nixpkgs-af82a43ffc5130257ba4639adfe291dbb7bb4ec9.tar.zst
nixpkgs-af82a43ffc5130257ba4639adfe291dbb7bb4ec9.zip
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/os-specific/linux/upower')
-rw-r--r--pkgs/os-specific/linux/upower/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/upower/default.nix b/pkgs/os-specific/linux/upower/default.nix
index a002e1af889..36d8a3b9c45 100644
--- a/pkgs/os-specific/linux/upower/default.nix
+++ b/pkgs/os-specific/linux/upower/default.nix
@@ -24,7 +24,7 @@
 , libimobiledevice
 , withDocs ? withIntrospection
 , mesonEmulatorHook
-, withIntrospection ? stdenv.hostPlatform.emulatorAvailable buildPackages
+, withIntrospection ? lib.meta.availableOn stdenv.hostPlatform gobject-introspection && stdenv.hostPlatform.emulatorAvailable buildPackages
 , buildPackages
 , gobject-introspection
 }: