nixos/gdk-pixbuf.nix: don’t set GDK_PIXBUF_MODULE_FILE in cross

From 6c5983a291530f040deb97881e80cca373a5b29e, this should not be
necessary for gdk-pixbuf to work correctly.

Changed files
+1 -1
nixos
modules
services
+1 -1
nixos/modules/services/x11/gdk-pixbuf.nix
···
# 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) {
environment.variables = {
GDK_PIXBUF_MODULE_FILE = "${loadersCache}";
};
···
# 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 != []) {
environment.variables = {
GDK_PIXBUF_MODULE_FILE = "${loadersCache}";
};