Sébastien Gendre <[email protected]> writes: > Hello Noé > > Noé Lopez <noe@noé.eu> writes: > >> To add to Ian’s answer, $HOME is not defined by default in build >> environments. >> >> Its possible that adding a phase like the following example to your >> package can provide an easy fix. >> >> (add-before 'build 'set-home >> (lambda _ >> (setenv "HOME" "/tmp"))) >> >> The root cause of your issue being that "${user.home}/.jmri" would >> expand to /.jmri since $HOME is not set. > > Thank you very much for your help. > > I didn't know it was possible to have phases with the ant-build-system. > It is not documented in the manual. Or did I miss something ?
All build systems have phases, they are defined in the %standard-phases variable of each. For ant that is in guix/build/ant-build-system.scm.
signature.asc
Description: PGP signature
