Noé Lopez <noe@noé.eu> writes:
> Anyways, another option is to replace user.home directly in build.xml:
>
> (add-after 'unpack 'set-home
> (lambda _
> (substitute* "build.xml"
> (("user\\.home")
> "/tmp"))))
>
> You could also change the home value returned by the JVM, but I don’t
> know how.
I tried this:
(add-before 'build 'set-home
(lambda _
(substitute* "build.xml"
(("\\$\\{user\\.home\\}")
"/tmp"))))
The build phase work now. Thank you very much.
Now, I got an error for the install phase because the JMRI project have
no install target:
starting phase `install'
Buildfile: /tmp/guix-build-JMRI-5.12.drv-0/source/build.xml
[exec] Result: 128
[echo] settings.dir assumed to be /tmp/.jmri
BUILD FAILED
Target "install" does not exist in the project "JMRI".
Total time: 0 seconds
error: in phase 'install': uncaught exception:
%exception #<&invoke-error program: "ant" arguments: ("install")
exit-status: 1 term-signal: #f stop-signal: #f>
phase `install' failed after 0.6 seconds
command "ant" "install" failed with status 1
build process 10 exited with status 256
I guess I have to replace the install phase, because the JMRI project is
different. But it's not because of Guix.
signature.asc
Description: PGP signature
