nixos/input-methods: use gtk2 attribute for GTK 2

This commit is contained in:
Thomas Tuegel 2016-09-22 18:40:50 -05:00
parent 564b12656e
commit 84f7009994
No known key found for this signature in database
GPG key ID: 22CBF5249D4B4D59

View file

@ -7,7 +7,7 @@ let
preferLocalBuild = true;
allowSubstitutes = false;
name = "gtk2-immodule.cache";
buildInputs = [ pkgs.gtk cfg.package ];
buildInputs = [ pkgs.gtk2 cfg.package ];
buildCommand = ''
mkdir -p $out/etc/gtk-2.0/
GTK_PATH=${cfg.package}/lib/gtk-2.0/ gtk-query-immodules-2.0 > $out/etc/gtk-2.0/immodules.cache