[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, 17 May 2020 23:53:14 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hi,
zimoun <address@hidden> skribis:
> On Wed, 6 May 2020 at 15:54, Ludovic Courtès <address@hidden> wrote:
>
>> > The comment in guix/swh.scm says ';FIXME: factorize'. Does it means:
>> > move it in the file 'guix/utils.scm'?
>>
>> I believe the (shameful) reason is that the closure of (guix swh) is
>> imported no the build side and adding (guix utils) to it would pull in
>> too much stuff.
>
> I see... thank you for the explanation.
>
> 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.
Ludo’.