summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-06-17 15:09:46 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-06-29 14:53:21 -0400
commit6b0e55cde901dd5f6eae72cee10723b7739cadf7 (patch)
tree18fc5f1a14d4c8527c6d1f46c9d366814e42d768 /tests
parentf72aa3834b83d4c5e6889aa7698d4bff16e53984 (diff)
downloadguix-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')
0 files changed, 0 insertions, 0 deletions