inferior: 'gexp->derivation-in-inferior' honors EXP's load path.
authorLudovic Courtès <ludo@gnu.org>
Fri, 18 Jan 2019 09:01:37 +0000 (10:01 +0100)
committerLudovic Courtès <ludo@gnu.org>
Sun, 20 Jan 2019 16:57:14 +0000 (17:57 +0100)
commit1fafc383b1f04fcdaa49941f5bb64ac3008cfad8
treec6c137d6e6c91c3e5fff72f6030dcde06e67904a
parented75bdf35ca494496cdbc7a06b414e1f08e70cac
inferior: 'gexp->derivation-in-inferior' honors EXP's load path.

Previously the imported modules and extensions of EXP would be missing
from the load path of 'guix repl'.

* guix/inferior.scm (gexp->derivation-in-inferior)[script]: New
variable.
[trampoline]: Write (primitive-load #$script) to PIPE.  Add #$output.
* tests/channels.scm ("channel-instances->manifest")[depends?]: Check
for requisites rather than direct references.
Adjust callers accordingly.
guix/inferior.scm
tests/channels.scm