From dd050270c78a0e214ed7cb9e25bae43b45406473 Mon Sep 17 00:00:00 2001 From: worldofpeace Date: Sun, 13 Oct 2019 19:53:18 -0400 Subject: nixos/environment: don't set GTK_DATA_PREFIX or GTK_EXE_PREFIX We had these set so gtk2 can discover themes properly, however we failed realize that gtk2 already has a patch that makes it search in XDG_DATA_DIRS. I don't believe any issue is solved by setting these. --- nixos/modules/programs/environment.nix | 2 -- 1 file changed, 2 deletions(-) (limited to 'nixos') diff --git a/nixos/modules/programs/environment.nix b/nixos/modules/programs/environment.nix index fcffb2134980..38bdabb4fa81 100644 --- a/nixos/modules/programs/environment.nix +++ b/nixos/modules/programs/environment.nix @@ -21,8 +21,6 @@ in PAGER = mkDefault "less -R"; EDITOR = mkDefault "nano"; XDG_CONFIG_DIRS = [ "/etc/xdg" ]; # needs to be before profile-relative paths to allow changes through environment.etc - GTK_DATA_PREFIX = "${config.system.path}"; # needed for gtk2 apps to find themes - GTK_EXE_PREFIX = "${config.system.path}"; }; environment.profiles = mkAfter -- cgit 1.4.1