summary refs log tree commit diff
path: root/nixos/modules/config
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2022-11-16 06:01:56 +0000
committerGitHub <noreply@github.com>2022-11-16 06:01:56 +0000
commit1fcf6e2df20456625f5218e97d221f4a5fe94bb8 (patch)
treeb43d9e40a743fde59e702d728432daa69838b1e3 /nixos/modules/config
parentfe0f06b2f52f00074e29b77fa67317941b233ab7 (diff)
parent8dadcc86eeccc7841ff450d0c943311d9c0824ca (diff)
downloadnixpkgs-1fcf6e2df20456625f5218e97d221f4a5fe94bb8.tar
nixpkgs-1fcf6e2df20456625f5218e97d221f4a5fe94bb8.tar.gz
nixpkgs-1fcf6e2df20456625f5218e97d221f4a5fe94bb8.tar.bz2
nixpkgs-1fcf6e2df20456625f5218e97d221f4a5fe94bb8.tar.lz
nixpkgs-1fcf6e2df20456625f5218e97d221f4a5fe94bb8.tar.xz
nixpkgs-1fcf6e2df20456625f5218e97d221f4a5fe94bb8.tar.zst
nixpkgs-1fcf6e2df20456625f5218e97d221f4a5fe94bb8.zip
Merge staging-next into staging
Diffstat (limited to 'nixos/modules/config')
-rw-r--r--nixos/modules/config/gtk/gtk-icon-cache.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/nixos/modules/config/gtk/gtk-icon-cache.nix b/nixos/modules/config/gtk/gtk-icon-cache.nix
index 87d5483e36a..62f0cc3f090 100644
--- a/nixos/modules/config/gtk/gtk-icon-cache.nix
+++ b/nixos/modules/config/gtk/gtk-icon-cache.nix
@@ -52,10 +52,8 @@ with lib;
 
     environment.extraSetup = ''
       # For each icon theme directory ...
-
-      find $out/share/icons -mindepth 1 -maxdepth 1 -print0 | while read -d $'\0' themedir
+      find $out/share/icons -exec test -d {} ';' -mindepth 1 -maxdepth 1 -print0 | while read -d $'\0' themedir
       do
-
         # In order to build the cache, the theme dir should be
         # writable. When the theme dir is a symbolic link to somewhere
         # in the nix store it is not writable and it means that only