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

View File

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