diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2022-11-16 06:01:56 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-16 06:01:56 +0000 |
commit | 1fcf6e2df20456625f5218e97d221f4a5fe94bb8 (patch) | |
tree | b43d9e40a743fde59e702d728432daa69838b1e3 /nixos/modules/config | |
parent | fe0f06b2f52f00074e29b77fa67317941b233ab7 (diff) | |
parent | 8dadcc86eeccc7841ff450d0c943311d9c0824ca (diff) |
Merge staging-next into staging
Diffstat (limited to 'nixos/modules/config')
-rw-r--r-- | nixos/modules/config/gtk/gtk-icon-cache.nix | 4 |
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 87d5483e36ab9..62f0cc3f090f9 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 |