From 161315c4de69fde33c330afcaa6ec69a965232df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Tue, 31 May 2022 07:27:14 +0200 Subject: [PATCH] gtk3: fixup build on *-darwin --- pkgs/development/libraries/gtk/3.x.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/libraries/gtk/3.x.nix b/pkgs/development/libraries/gtk/3.x.nix index 3f78753346dd..f3f3f0c108a1 100644 --- a/pkgs/development/libraries/gtk/3.x.nix +++ b/pkgs/development/libraries/gtk/3.x.nix @@ -213,6 +213,9 @@ stdenv.mkDerivation rec { wrapProgram $dev/bin/$program \ --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH:$out/share/gsettings-schemas/${pname}-${version}" done + '' + lib.optionalString stdenv.isDarwin '' + # a comment created a cycle between outputs + sed '/^# ModulesPath =/d' -i "$out"/lib/gtk-*/*/immodules.cache ''; passthru = {