Divya Ranjan via "Development of GNU Guix and the GNU System
distribution." <guix-devel@gnu.org> writes:
Ricardo Wurmus <rekado@elephly.net> writes:
Divya <divya@subvertising.org> writes:
Thanks for pointing it out, indeed its trying to write into
/etc/xdg.
How does one handle such a case when packaging in Guix?
We'd patch the build system files to make it write to $output/etc/xdg
instead.
But wouldn’t that break with updates? Or, does one need to update the
build system files everytime with a release?
No, you'd use a G-expression and refer to #$output in the build phase.
#$output will always have the value of the output directory.
Do you think one should
send a patch for this to the source tree, to make it compatible with
both Guix and Non-Guix GNU/Linux distributions?
No need. Just patch it in a custom build phase.