summary refs log tree commit diff
path: root/nixos/modules/services/x11/gdk-pixbuf.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/x11/gdk-pixbuf.nix')
-rw-r--r--nixos/modules/services/x11/gdk-pixbuf.nix2
1 files changed, 1 insertions, 1 deletions
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}";
     };