Hello Nixers,
hope to choose the right category… After my latest update (relevant
changes potentially happen few days ago since I update today after
a week) anydesk package seems to be broken due to a GTk issue I do not
understand…
I think the error is there (strace output, running anydesk)
openat(AT_FDCWD, "$(echo /nix/store/5xbmbiynhpyq59bxwa7xw4hszkh6fgz6-librsvg-2.42.4/lib/gdk-pixbuf-2.0/*/loaders.cache)", O_RDONLY) = -1 ENOENT (No such file or directory)
I imaging openat does not execute the subshell but simply try to open a
‘$(echo …’ file that of course not exists, but I do not know how make
the proper substitution happen before openat call…
For “environment” I have in my config since ever
GDK_PIXBUF_MODULE_FILE = "$(echo ${pkgs.librsvg.out}/lib/gdk-pixbuf-2.0/*/loaders.cache)";
and normally GTk apps can load svg icons issueless, and they still do
now. I also have gdk-pixbuf-query-loaders binary, actually as
/nix/store/05smyn5mn42xl1vfkyinqlahwcds5a3f-gdk-pixbuf-2.38.0-dev/bin/gdk-pixbuf-query-loaders
Running anydesk result in
(process:19467): GdkPixbuf-WARNING **: 11:11:19.119: Cannot open pixbuf loader module file '$(echo /nix/store/5xbmbiynhpyq59bxwa7xw4hszkh6fgz6-librsvg-2.42.4/lib/gdk-pixbuf-2.0/*/loaders.cache)': No such file or directory
This likely means that your installation is broken.
Try running the command
gdk-pixbuf-query-loaders > $(echo /nix/store/5xbmbiynhpyq59bxwa7xw4hszkh6fgz6-librsvg-2.42.4/lib/gdk-pixbuf-2.0/*/loaders.cache)
to make things work again for the time being.
terminate called after throwing an instance of 'base::gdk_exception_t'
file say
file /nix/store/5xbmbiynhpyq59bxwa7xw4hszkh6fgz6-librsvg-2.42.4/lib/gdk-pixbuf-2.0/*/loaders.cache
/nix/store/5xbmbiynhpyq59bxwa7xw4hszkh6fgz6-librsvg-2.42.4/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache: ASCII text
And both gdk-pixbuf-query-loaders and already created file are
essentially the same not counting autogenerated comments.
Does anyone have an idea?
A quick search reveal few similar issues in the past, like [1] but they
seems “already there” for anydesk…
If it’s relevant I’m on NixOS stable with few unstable pkgs added, my DE
is EXWM launched via LightDM…
Thanks for now!
[1] package key-mon is broken · Issue #11183 · NixOS/nixpkgs · GitHub
– Ingmar