Merge pull request #172616 from theknyaa/fix-gtk-immodules-cache
gtk: fix missing immodules.cache
This commit is contained in:
commit
5729205c6e
1 changed files with 2 additions and 0 deletions
|
@ -201,6 +201,8 @@ stdenv.mkDerivation rec {
|
|||
for f in $dev/bin/gtk-encode-symbolic-svg; do
|
||||
wrapProgram $f --prefix XDG_DATA_DIRS : "${shared-mime-info}/share"
|
||||
done
|
||||
'' + lib.optionalString (stdenv.buildPlatform == stdenv.hostPlatform) ''
|
||||
GTK_PATH="''${out:?}/lib/gtk-3.0/3.0.0/immodules/" ''${dev:?}/bin/gtk-query-immodules-3.0 > "''${out:?}/lib/gtk-3.0/3.0.0/immodules.cache"
|
||||
'';
|
||||
|
||||
# Wrap demos
|
||||
|
|
Loading…
Reference in a new issue