(address . bug-guix@gnu.org)
I've been fighting my manifest to try to get "git" and "git:send-email"
both included, while using package transformations. For the sake of
brevity, here's a stripped down version of my manifest:
(packages->manifest
(map specification->package+output
'("git" "git:send-email")))
Here's what I learned from some experimentation:
(cmd)scheme@(guile-user)> (specification->package+output "git:send-email")
$14 = #<package git@2.32.0 gnu/packages/version-control.scm:176 7f730e918320>
$15 = "send-email"
(ins)scheme@(guile-user)> (list (specification->package+output "git:send-email"))
$16 = (#<package git@2.32.0 gnu/packages/version-control.scm:176 7f730e918320>)
(ins)scheme@(guile-user)> (list (specification->package+output "git"))
$17 = (#<package git@2.32.0 gnu/packages/version-control.scm:176 7f730e918320>)
Meanwhile, (specifications->manifest '("git" "git:send-email")) does
actually return a manifest with both the "out" and the "send-email"
outputs of git.
(package->manifest-entry (specification->package+output "git:send-email"))
returns a manifest entry for "git:out" and
(package->manifest-entry git "send-email") returns a manifest entry for
"git:send-email".
--
Efraim Flashner <efraim@flashner.co.il> רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmE7JpoACgkQQarn3Mo9
g1GJExAAwSPep8IoUJG9iNrorT79B05CGTrfztw83PndQ02WU3fH5Z6QhFnB3jIU
806V7K87uSDurp2vS8uOzZPAF59CBVGXKkm/CMdBiqvKrN5td7gUOR7EWICy2E4R
0gGzlfIu1ESdPSTd1r3NL7JLjjbTMi5WE6P0YstZn74SZklNQ6z700jvMyQY0XK8
1pbDyeB15SLiw40apOn1uhfctfLmZUpCvEk2vFnqLGSPC3zHDzOzERfoOrQJyXHQ
kVkWwu+1jFJE0rGH7UieDdyqp5nXmyOqThhtV1dInoPgrmDjrtv/FQwpzsl73c8+
7XLWT3H9yDyfyrBevx0bT/ySBdnJKieuEqencOL/4WZo3PW8sG51GUBj9qwuQuzB
r72U+F51AOKukoFNeehN8og35XR4zF3HFrZSM2rYffhOWv6PpBrrTMJ2GX2IJyf2
cqVjlgIMPx7X6pRphiO8m3ULmYU2R3eBqx9uuqhOhmETGoHlNvFBE9tkCIeYgBNe
Dc2pXlmBIpXYq3QBZelBzIB3jOvgHhhn5I/P951ZBwFroLIZkLOVpsqhSFod/RX0
jCNRL0AmS0UzSIupDLhaWDiuzYJLoKInGfV66mIroVxy56iO+gj+osBqnW5/XRGD
sjb3LmXRIXw+N6RdklfUM7ZUU71f+57zxEdO+mb3jdtu9ruVFXU=
=+1SO
-----END PGP SIGNATURE-----