GNU bug report logs -
#26805
[PATCH] gs-fonts: add missing podule imports
Previous Next
Reported by: Sergei Trofimovich <slyfox <at> inbox.ru>
Date: Sat, 6 May 2017 15:41:01 UTC
Severity: normal
Tags: patch
Done: Danny Milosavljevic <dannym <at> scratchpost.org>
Bug is archived. No further changes may be made.
Full log
Message #25 received at 26805 <at> debbugs.gnu.org (full text, mbox):
Hi!
Sergei Trofimovich <slyfox <at> inbox.ru> skribis:
> On Wed, 10 May 2017 13:53:41 +0200
> ludo <at> gnu.org (Ludovic Courtès) wrote:
>
>> What about adding (srfi srfi-1) to ‘%default-modules’ in (guix
>> build-system gnu)? It’s generally useful anyway.
>>
>> (Alternately, we could rename SRFI-1’s ‘delete’ in (guix build utils),
>> so we’d still be matching a literal, but we’d have problems in places
>> that use both (guix build utils) and (srfi srfi-1).)
>
> I'd personally say the less magic reexports - the better. It's ok to go
> through all of core-updates and fix missing imports.
I wouldn’t call it “magic”. It’s just about providing a useful set of
bindings in ‘%default-modules’, to save typing essentially.
Also, for this ‘delete’ issue, I’m pretty sure we’re going to miss many
occurrences no matter what (same problem as with the ‘_’ binding from
(guix ui), which wasn’t resolved until I finally realized that renaming
it would have saved a lot of time…)
Note that there’s also the second solution above.
Thoughts?
> Would be nice the all those syntactic errors could be caught with something
> lighter-weight than full 'guix build'.
The problem is that this is “build-side code” and we can’t really tell
much about it until we’ve assembled it in on of those -guile-builder
files.
> I'm afraid I have no idea how symbol visibility works in guix as I'm
> still struggling to find which code builds and evaluates '*-guile-builder' files.
>
> For example what is the difference between
> (use-modules ....
> and
> (arguments '(#:modules
> ?
Hopefully the intro of the “G-Expressions” section can shed some light
on this, specifically on the build-side vs. host-side story. Otherwise
let me know. :-)
“(arguments '(#:modules …))” specifies modules in scope on the build
side.
HTH!
Ludo’.
This bug report was last modified 8 years and 82 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.