Ricardo Wurmus <[email protected]> skribis: > Ludovic Courtès <[email protected]> skribis: > >> Mark H Weaver <[email protected]> skribis: >> >>> FWIW, I would like to see us work to eliminate all cyclic module >>> dependencies in Guix, by splitting up our package modules as needed so >>> that they form a directed acyclic graph. >> >> This seems hard to achieve, unless we use one file per package. > > Are there drawbacks to using one file per package other than it’s a bit > “heavy” due to all the boilerplate of license headers and module > definitions?
It’d be less convenient for packagers, notably because you’d have to specify all the modules to import, as you noted before. We could work around it with a ‘define-package-module’ macro that would lookup packages with ‘specification->package’ or something like that. There might be other implications, I’m not sure. Ludo’.
