gtk3: fixup build on *-darwin

This commit is contained in:
Vladimír Čunát 2022-05-31 07:27:14 +02:00
parent 881b2aa181
commit 161315c4de
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -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 = {