guix-devel
[Top][All Lists]
Advanced

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

Re: Exact same 'call-with-temporary-directory' defined twice?


From: Ludovic Courtès
Subject: Re: Exact same 'call-with-temporary-directory' defined twice?
Date: Sun, 24 May 2020 22:59:19 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Hi,

zimoun <address@hidden> skribis:

> On Sun, 17 May 2020 at 23:53, Ludovic Courtès <address@hidden> wrote:
>
>> > Naively: does it make sense to move it to "guix/build/utils.scm"?
>>
>> No because it depends on (guix build syscalls) for ‘mkdtemp!’ and
>> there’s currently that assumption that (1) (guix build utils) can be
>> used on a statically-linked Guile, and (2) it has no dependencies.
>
> Thank you for the explanations.  I am not sure to understand the
> assumption (1) but never mind.

Regarding (1): a statically-linked Guile cannot call ‘dynamic-link’ to
access libc symbols, so it cannot use FFI bindings to libc such as those
in (guix build syscalls).

HTH!

Ludo’.



reply via email to

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