Hi, zimoun <[email protected]> skribis:
> On Wed, 6 May 2020 at 15:54, Ludovic Courtès <[email protected]> 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’.
