[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Guix as a native-inputs ?

From: Julien Lepiller
Subject: Re: Guix as a native-inputs ?
Date: Tue, 02 Aug 2022 18:06:11 +0200
User-agent: K-9 Mail for Android

If you're trying to access the build daemon from inside the package build 
container, that must mean you have a derivation you're trying to build. Instead 
of trying to circumvent the container (which is there for a reason), you could:

- write a bit of Scheme code that returns that derivation
- pass the result as an input.

That way, you build that derivation outside the build environment, and you can 
refer to the result inside the build environment.

Le 2 août 2022 17:36:19 GMT+02:00, Olivier Dion via <> a écrit 
>On Tue, 02 Aug 2022, "(" <> wrote:
>> On Tue Aug 2, 2022 at 2:41 PM BST, Olivier Dion wrote:
>>> There seems to be an issue after all.  When building with Guix, my
>>> script failed to access /var/guix/daemon-socket/socket with `guix
>>> shell'.  I guess there's probably some way to make it available for the
>>> build?
>> You're in a container with access to nothing but the store and /tmp. It's
>> not surprising that trying to access anything else doesn't work.
>Right that was my though.  Do you thin there is a way to expose the
>required files to the build container for accessing the Guix daemon?
>I have at least another case -- a guix+guile declarative build system --
>where I need to communicate with the Guix daemon in the build
>Olivier Dion

reply via email to

[Prev in Thread] Current Thread [Next in Thread]