diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-06-17 15:09:46 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-06-29 14:53:21 -0400 |
commit | 6b0e55cde901dd5f6eae72cee10723b7739cadf7 (patch) | |
tree | 18fc5f1a14d4c8527c6d1f46c9d366814e42d768 /tests/pack.scm | |
parent | f72aa3834b83d4c5e6889aa7698d4bff16e53984 (diff) | |
download | guix-patches-6b0e55cde901dd5f6eae72cee10723b7739cadf7.tar guix-patches-6b0e55cde901dd5f6eae72cee10723b7739cadf7.tar.gz |
pack: Improve naming of the packs store file names.
Instead of just naming them by their pack type, add information from the
package(s) they contain to make it easier to differentiate them.
* guix/scripts/pack.scm (define-with-source): New macro.
(manifest->friendly-name): Extract procedure from ...
(docker-image): ... here, now defined via the above macro. Adjust REPOSITORY
argument value accordingly.
(guix-pack): Derive NAME using MANIFEST->FRIENDLY-NAME.
Diffstat (limited to 'tests/pack.scm')
0 files changed, 0 insertions, 0 deletions