···52525353 environment.extraSetup = ''
5454 # For each icon theme directory ...
5555-5656- find $out/share/icons -mindepth 1 -maxdepth 1 -print0 | while read -d $'\0' themedir
5555+ find $out/share/icons -exec test -d {} ';' -mindepth 1 -maxdepth 1 -print0 | while read -d $'\0' themedir
5756 do
5858-5957 # In order to build the cache, the theme dir should be
6058 # writable. When the theme dir is a symbolic link to somewhere
6159 # in the nix store it is not writable and it means that only