From ab1d36767120bd984b09dd6c263aafaf6f326677 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Mon, 2 Jun 2025 12:45:48 +0200 Subject: [PATCH] graphene: fix static Meson doesn't support gtk-doc for static builds. Link: https://github.com/mesonbuild/meson/pull/14257 --- pkgs/by-name/gr/graphene/package.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gr/graphene/package.nix b/pkgs/by-name/gr/graphene/package.nix index 534c8d24fb9b..0cdf6d7c83ab 100644 --- a/pkgs/by-name/gr/graphene/package.nix +++ b/pkgs/by-name/gr/graphene/package.nix @@ -13,8 +13,11 @@ nixosTests, glib, withDocumentation ? - stdenv.buildPlatform.canExecute stdenv.hostPlatform - || stdenv.hostPlatform.emulatorAvailable buildPackages, + ( + stdenv.buildPlatform.canExecute stdenv.hostPlatform + || stdenv.hostPlatform.emulatorAvailable buildPackages + ) + && !stdenv.hostPlatform.isStatic, gtk-doc, docbook_xsl, docbook_xml_dtd_43,