Evolution crashes on launch

Evolution in nixpkgs doesn’t launch for me. When running in the terminal I get the following message:

[jzzvid@piccolo:~]$ evolution 

(org.gnome.Evolution:132795): dconf-WARNING **: 17:48:26.043: Unable to open /home/jzzvid/.nix-profile/share/dconf/profile/user: Not a directory

(evolution-alarm-notify:132805): dconf-WARNING **: 17:48:26.636: Unable to open /home/jzzvid/.nix-profile/share/dconf/profile/user: Not a directory
bwrap: Can't find source path /home/jzzvid/.nix-profile/share/fonts: Not a directory

** (org.gnome.Evolution:132795): ERROR **: 17:48:26.916: readPIDFromPeer: Unexpected short read from PID socket
Trace/breakpoint trap (core dumped)

I am running NixOS 24.11 with Gnome and have it installed through the programs.evolution invocation in my configuration.nix.

Anyone have a solution for this one or know what I did wrong?

Thanks for reporting. This looks similar to a bug that people can reproduce on Fedora but the trigger appears to be different. Similar error was also a webkitgtk bug but that should be resolved in webkitgtk 2.46.1 and bubblewrap 0.11.0, both in NixOS 24.11 (bubblewrap, webkitgtk).

I would expect the bubblewrap error to come from but that already uses bindIfExists:

Does ~/.nix-profile/share/fonts exist on your host? If so, what does the symlink resolve to? Maybe there multiple levels of symlinks and webkitgtk only binds the outermost one.

Can you try to run Evolution with XDG_DATA_DIRS environment variable with ~/.nix-profile/share removed?

Oddly, ~/.nix-profile wasn’t actually linked to anything so I just removed it, rebooted, and now Evolution seems to launch without complaining.

But now I wonder if I just broke something else :confused:

That it odd it coincides with a similar bug, but that is for the Flatpak version of Evolution. Hmm…