summary refs log tree commit diff
path: root/nixos/modules/services/x11/gdk-pixbuf.nix
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2019-05-22 07:03:39 -0400
committerworldofpeace <worldofpeace@protonmail.ch>2019-07-22 18:50:57 -0400
commitb1bc0645eaa0118757275871c31fe17547cbc477 (patch)
tree06fdfe593631b14188fd377e74d9e37d17bb5c49 /nixos/modules/services/x11/gdk-pixbuf.nix
parent23a3256ee1ece61eeb4e9a9a1fb6131b35e86abc (diff)
downloadnixpkgs-b1bc0645eaa0118757275871c31fe17547cbc477.tar
nixpkgs-b1bc0645eaa0118757275871c31fe17547cbc477.tar.gz
nixpkgs-b1bc0645eaa0118757275871c31fe17547cbc477.tar.bz2
nixpkgs-b1bc0645eaa0118757275871c31fe17547cbc477.tar.lz
nixpkgs-b1bc0645eaa0118757275871c31fe17547cbc477.tar.xz
nixpkgs-b1bc0645eaa0118757275871c31fe17547cbc477.tar.zst
nixpkgs-b1bc0645eaa0118757275871c31fe17547cbc477.zip
gdk-pixbuf: rename from gdk_pixbuf
Diffstat (limited to 'nixos/modules/services/x11/gdk-pixbuf.nix')
-rw-r--r--nixos/modules/services/x11/gdk-pixbuf.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/modules/services/x11/gdk-pixbuf.nix b/nixos/modules/services/x11/gdk-pixbuf.nix
index 2dc8eabd95a..9ad926369ec 100644
--- a/nixos/modules/services/x11/gdk-pixbuf.nix
+++ b/nixos/modules/services/x11/gdk-pixbuf.nix
@@ -5,21 +5,21 @@ with lib;
 let
   cfg = config.services.xserver.gdk-pixbuf;
 
-  # Get packages to generate the cache for. We always include gdk_pixbuf.
-  effectivePackages = unique ([pkgs.gdk_pixbuf] ++ cfg.modulePackages);
+  # Get packages to generate the cache for. We always include gdk-pixbuf.
+  effectivePackages = unique ([pkgs.gdk-pixbuf] ++ cfg.modulePackages);
 
   # Generate the cache file by running gdk-pixbuf-query-loaders for each
   # package and concatenating the results.
   loadersCache = pkgs.runCommand "gdk-pixbuf-loaders.cache" { preferLocalBuild = true; } ''
     (
       for package in ${concatStringsSep " " effectivePackages}; do
-        module_dir="$package/${pkgs.gdk_pixbuf.moduleDir}"
+        module_dir="$package/${pkgs.gdk-pixbuf.moduleDir}"
         if [[ ! -d $module_dir ]]; then
           echo "Warning (services.xserver.gdk-pixbuf): missing module directory $module_dir" 1>&2
           continue
         fi
         GDK_PIXBUF_MODULEDIR="$module_dir" \
-          ${pkgs.gdk_pixbuf.dev}/bin/gdk-pixbuf-query-loaders
+          ${pkgs.gdk-pixbuf.dev}/bin/gdk-pixbuf-query-loaders
       done
     ) > "$out"
   '';