services: shepherd: Cross-compilation fix.
authorJan (janneke) Nieuwenhuizen <janneke@gnu.org>
Sat, 25 Apr 2020 13:20:04 +0000 (15:20 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sat, 25 Apr 2020 17:34:15 +0000 (19:34 +0200)
commitd2fc76462e72268ee5b04fe53805efc05c35e139
tree2f7d514f6c4f26104c14ac30093dad5c84105477
parent6ac6c1d28d8a89d0f9b0f15e7df2a011f24aa091
services: shepherd: Cross-compilation fix.

Fixes <https://bugs.gnu.org/40839>.
Reported by Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
Fix suggested by Mathieu Othacehe <m.othacehe@gmail.com>

However, <https://bugs.gnu.org/29296> still applies; %current-target-system
may not be bound.

* gnu/services/shepherd.scm (scm->go): Use `with-target' when cross-compiling.
gnu/services/shepherd.scm