Hi,
Hmm, I would not expect
environment.variables.GDK_PIXBUF_MODULE_FILE = "$(echo ${pkgs.librsvg.out}/lib/gdk-pixbuf-2.0/*/loaders.cache)";to
work at all, but apparently the variables are not escaped at all:
Mh, actually saying it does work is a big exaggerated since I simply
use it in the past and left in my config to properly see icons for
Udiskie and ClipIt, after that icons shows properly and keep working
so I say “hey, it work” without testing removal…
It would be much better to use the new gdk-pixbuf module from unstable:
services.xserver.gdk-pixbuf.modulePackages = [ pkgs.librsvg ];You
can cherry-pick Use a NixOS module for generating the gdk-pixbuf loaders cache. by ambrop72 · Pull Request #42562 · NixOS/nixpkgs · GitHub
Thanks, it does work now, despite only if run via sudo, but I think
that’s another issue… That’s nice however, I hope it will be merged
on stable
Thanks again,
– Ingmar