Hi, On Sun, 25 Jul 2021 at 16:16, Andy Tai <a...@atai.org> wrote: > sorry for the series of questions, but a follow on question: > > If I create and distribute such a guix pack bundle, is there an easy > way to create a tar.gz file containing the sources to fit GPL > requirements? I assume now there is no guix command to create a > "source pack" for a guix pack. Even if there is, can a tar.gz of the > directories of the sources be enough to re-create the binary pack? > Or basically the user shall have the full guix git repo built locally, > plus the sources of the programs bundled, before he or she can > re-create the guix pack. > > Question is essentially how to meet GPL requirements (user given the > sources to be able to recreate the binaries distributed from these > sources) for a guix pack. Thanks
You can get the source with “guix build --source” but indeed I do not know how to get from the CLI an archive containing all the sources. However, the API provides all the tools to write a script for “guix repl”. :-) All the best, simon