Assemble Package Manifest from Different Sources
Gix component configuration file can specify package dependencies either using a Guile scheme or using an elisp source block with use-package syntax. That is,
Guile scheme based approach,
#+begin_src scheme
(specifications->manifest
'("package-1"
;; Version 1.3 of package-2.
"package-2@1.3"
;; The "lib" output of package-3.
"package-3:lib"
; ...
"package-N"))
#+end_src
Elisp based approach,
#+begin_src scheme
(use-package package-1
:guix (:using channel :name package-1))
(use-package package-N
:guix (:using channel :name package-N))
#+end_src
The first can be used to specify packages in bulk. And, the latter can be used to specify packages individually along with their configuration settings. That is, using Emacs style approach.
Currently these two types of package specification mechanisms can not be mixed. It would be nice if that was the case.
Edited by Aron Gile