From c33e8c498698566df32ba2bcf224634d28325610 Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Thu, 7 May 2020 14:39:42 -0500 Subject: nixos/gdk-pixbuf.nix: don’t set GDK_PIXBUF_MODULE_FILE in cross MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From 6c5983a291530f040deb97881e80cca373a5b29e, this should not be necessary for gdk-pixbuf to work correctly. --- nixos/modules/services/x11/gdk-pixbuf.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/modules/services/x11/gdk-pixbuf.nix') diff --git a/nixos/modules/services/x11/gdk-pixbuf.nix b/nixos/modules/services/x11/gdk-pixbuf.nix index e6a24a2f1a3..3fd6fed91e1 100644 --- a/nixos/modules/services/x11/gdk-pixbuf.nix +++ b/nixos/modules/services/x11/gdk-pixbuf.nix @@ -37,7 +37,7 @@ in # If there is any package configured in modulePackages, we generate the # loaders.cache based on that and set the environment variable # GDK_PIXBUF_MODULE_FILE to point to it. - config = mkIf (cfg.modulePackages != [] || pkgs.stdenv.hostPlatform != pkgs.stdenv.buildPlatform) { + config = mkIf (cfg.modulePackages != []) { environment.variables = { GDK_PIXBUF_MODULE_FILE = "${loadersCache}"; }; -- cgit 1.4.1