mbox series

[bug#34122,0/3] Build channel modules in the corresponding Guix

Message ID 20190118092938.12208-1-ludo@gnu.org
Headers show
Series Build channel modules in the corresponding Guix | expand

Message

Ludovic Courtès Jan. 18, 2019, 9:29 a.m. UTC
Hello!

Until now, we’d be building channel modules with the calling Guix
rather than with the Guix of the 'guix channel we’re targeting.
That led to breakage, for instance, when we added new dependencies
to Guix itself and the channel modules would thus not see them; see
commits 3c0e16391ed9a3e3e4611b940fb393c5f2ecea63 and
cb341c121919877ae6267a6460c0c17536d06eff.

These patches fix that.

Ludo’.

Ludovic Courtès (3):
  channels: Don't pull from the same channel more than once.
  inferior: 'gexp->derivation-in-inferior' honors EXP's load path.
  channels: Build channel modules in an inferior.

 guix/channels.scm  | 139 +++++++++++++++++++++++++--------------------
 guix/inferior.scm  |  13 ++++-
 tests/channels.scm |  88 +++++++++++++++++++++++++++-
 3 files changed, 173 insertions(+), 67 deletions(-)

Comments

Ludovic Courtès Jan. 20, 2019, 6:24 p.m. UTC | #1
Ludovic Courtès <ludo@gnu.org> skribis:

>   channels: Don't pull from the same channel more than once.
>   inferior: 'gexp->derivation-in-inferior' honors EXP's load path.
>   channels: Build channel modules in an inferior.

Pushed!

  acefa7408b channels: Build channel modules in an inferior.
  1fafc383b1 inferior: 'gexp->derivation-in-inferior' honors EXP's load path.
  ed75bdf35c channels: Don't pull from the same channel more than once.

Ludo’.