GNU bug report logs -
#55242
[PATCH 01/10] guix: import: Print the number of packages at the end.
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Attila Lendvai schreef op di 03-05-2022 om 13:43 [+0200]:
> +(define *module-path->import-path*
In (Guile) Scheme (at least as used in the Scheme code I've seen),
*earmuffs* are typically used for mutable variables, not for global
constants. Though guix/self.scm uses *system-modules* for not-really-
constant-but-not-mutated lexical variables so maybe ...
FWIW, I would write (define %module-path->import-path ...) here, not
that it really matters.
> + ;; There's no other way to derive this information, at least that I know of.
> + '(("github.com/google/go-cmp" . "github.com/google/go-cmp/cmp")
> + ("github.com/sergi/go-diff" . "github.com/sergi/go-diff/diffmatchpatch")
> + ("github.com/davecgh/go-spew" . "github.com/davecgh/go-spew/spew")
> + ("github.com/beorn7/perks" . "github.com/beorn7/perks/quantile")
> + ("github.com/census-instrumentation/opencensus-proto" .
> + "github.com/census-instrumentation/opencensus-proto/gen-go")))
About the ‘is this controversional’ bit: these kind of mappings and
sets have precedent, see e.g. 'known-vcs' in (guix import cran),
%builtin-mods in (guix import minetest), default-r-packages in (guix
import cran).
Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 3 years and 2 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.