Hello,

I want to
guix pack -f docker -m manifest.scm
and get a nice image name. However, looking at the code I see
[https://git.savannah.gnu.org/cgit/guix.git/tree/guix/scripts/pack.scm\#n618][https_git.savannah.gnu.org_cgit_guix.git_tree_guix_scripts_pack.scm_n618]
and then the ugly loop
[https://git.savannah.gnu.org/cgit/guix.git/tree/guix/scripts/pack.scm\#n155][https_git.savannah.gnu.org_cgit_guix.git_tree_guix_scripts_pack.scm_n155]
that produces cryptic docker image names like bash-coreutils-r-zhs.

Would it be possible to provide an option to specify that name?

Current manifest record-type is a list of manifest entries:
[https://git.savannah.gnu.org/cgit/guix.git/tree/guix/profiles.scm\#n205][https_git.savannah.gnu.org_cgit_guix.git_tree_guix_profiles.scm_n205]

I guess adding a name property to manifest is too big of a change.

Maybe then add an option to guix pack to accept optional name? And if not
provided, fall back to manifest->friendly-name.

Best,
Przemek


[https_git.savannah.gnu.org_cgit_guix.git_tree_guix_scripts_pack.scm_n618]: 
https://git.savannah.gnu.org/cgit/guix.git/tree/guix/scripts/pack.scm#n618
[https_git.savannah.gnu.org_cgit_guix.git_tree_guix_scripts_pack.scm_n155]: 
https://git.savannah.gnu.org/cgit/guix.git/tree/guix/scripts/pack.scm#n155
[https_git.savannah.gnu.org_cgit_guix.git_tree_guix_profiles.scm_n205]: 
https://git.savannah.gnu.org/cgit/guix.git/tree/guix/profiles.scm#n205

Attachment: attachment.sig
Description: PGP signature

Attachment: publickey - EmailAddress(s=cgenie@pm.me) - 0x9CC42B0A.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to