about 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 58faa8e2f9df..2dc8eabd95a7 100644
--- a/nixos/modules/services/x11/gdk-pixbuf.nix
+++ b/nixos/modules/services/x11/gdk-pixbuf.nix
@@ -10,7 +10,7 @@ let
 
   # Generate the cache file by running gdk-pixbuf-query-loaders for each
   # package and concatenating the results.
-  loadersCache = pkgs.runCommand "gdk-pixbuf-loaders.cache" {} ''
+  loadersCache = pkgs.runCommand "gdk-pixbuf-loaders.cache" { preferLocalBuild = true; } ''
     (
       for package in ${concatStringsSep " " effectivePackages}; do
         module_dir="$package/${pkgs.gdk_pixbuf.moduleDir}"