Hi,

Konrad Hinsen <konrad.hin...@fastmail.net> skribis:

>>>> At the API level, there’s ‘inferior-for-channels’ which does that +
>>>> registers a GC root + maintains a cache so that the second time you use
>>>> a given instance of Guix it’s immediately available.
>>>
>>> Just what I need...
>>
>> Awesome, let us know how it goes!
>
> Not so well...

Did you define an environment along the lines of the example at
<https://guix.gnu.org/manual/devel/en/html_node/Inferiors.html>?

If so, this should behave in exactly the same way as a “regular” ‘guix
environment’, so I’m not sure where the issues regarding access to the
tty come from?

Depending on the use case, another option is to not use inferiors at all
and simply do:

  guix pull --commit=XYZ -p ./my-old-guix
  ./my-old-guix/bin/guix environment --ad-hoc whatevern

But maybe I’m missing something, let me know.  :-)

Thanks,
Ludo’.

Reply via email to