diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-10-12 13:13:57 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-10-12 13:25:31 +0000 |
commit | af82a43ffc5130257ba4639adfe291dbb7bb4ec9 (patch) | |
tree | 26aa2e0d2ba10570ba7b076eae00e2dcc47875c8 /pkgs/os-specific/linux/upower | |
parent | 44ef6a13bf0aea330ad8a4737065f457b3c6cbbf (diff) | |
download | nixpkgs-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.nix | 2 |
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 }: |