android-studio: fix GTK LaF

Closes #36887.
This commit is contained in:
Nikolay Amiantov 2018-03-13 16:08:09 +03:00
parent a682ba23d4
commit d7470c1f1e
2 changed files with 8 additions and 1 deletions

View File

@ -29,6 +29,7 @@
, writeTextFile
, xkeyboard_config
, zlib
, gtk2, gnome_vfs, glib, GConf
, fontsConf
}:
@ -95,6 +96,11 @@ let
libpulseaudio
libX11
# For GTKLookAndFeel
gtk2
gnome_vfs
glib
GConf
]}" \
--set QT_XKB_CONFIG_ROOT "${xkeyboard_config}/share/X11/xkb" \
--set FONTCONFIG_FILE ${fontsConf}

View File

@ -1,9 +1,10 @@
{ stdenv, callPackage, fetchurl, makeFontsConf }:
{ stdenv, callPackage, fetchurl, makeFontsConf, gnome2 }:
let
mkStudio = opts: callPackage (import ./common.nix opts) {
fontsConf = makeFontsConf {
fontDirectories = [];
};
inherit (gnome2) GConf gnome_vfs;
};
in rec {
# Old alias