Flatpak applications fails to run after build on NixOS (fontcache path
Using gnome-builder 41.2 from flathub, I am unable to launch any cloned project after successful build.
Failing error:
bwrap: Can't find source path /usr/share/fonts: No such file or directory
It looks like bwrap is invoked with a hard-coded path for a resource to be exposed in the sandbox. It doesn't seems to bode well with NixOS and its peculiar and "esoteric" filesystem layout.
$ ls /usr/share/fonts ls: cannot access '/usr/share/fonts': No such file or directory
The directory path appears in gbp-flatpak-aux.c
For some reason the check for the directory existence does not short-circuit appending the command-line argument.
Thanks for your time and effort!
Edited by Alexandre Mazari