[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#57801: 'inferior-with-channels' is eager, making it hard to use in c
From: |
Maxime Devos |
Subject: |
bug#57801: 'inferior-with-channels' is eager, making it hard to use in channels |
Date: |
Wed, 14 Sep 2022 14:28:20 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 |
As experienced by Luks6655, you can't do
(define inferior (inferior-with-channels CHANNELS))
on the top-level of a channel module. I think the issue is that
inferior-with-channels is eager (not lazy), so it cannot be used in a
channel on the top-level, as builds (including channel builds) are
isolated from the network and have limited access to the file system.
If it would be made lazy, then
(define inferior (inferior-with-channels CHANNELS))
(define-public p
(package
[...]
(inputs (list (lookup-inferior-package inferior "hello")))))
should, in theory, work (unverified).
Greetings,
Maxime.
OpenPGP_0x49E3EE22191725EE.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature
- bug#57801: 'inferior-with-channels' is eager, making it hard to use in channels,
Maxime Devos <=