Suivant: Types de données et reconnaissance de motif, Précédent: Paradigme de programmation, Monter: Style de code [Table des matières][Index]
Guile modules that are meant to be used on the builder side must live in the
(guix build …)
name space. They must not refer to other Guix
or GNU modules. However, it is OK for a “host-side” module to use a
build-side module. As an example, the (guix search-paths)
module
should not be imported and used by a package since it isn’t meant to be used
as a “build-side” module. It would also couple the module with the
package’s dependency graph, which is undesirable.
Les modules qui s’occupent du système GNU général devraient se trouver dans
l’espace de nom (gnu …)
plutôt que (guix …)
.