El 2026-11-20 11:17, Gabriel Wicki escribió:
Hey y'all!I have troubles getting Guix to pack a bunch of packages that are defined in a manifest which resides in a channel. In (iic-osic manifest) I define the manifest, iic-osic-packages describes the list of packages in that manifest. Is it possible to pass the manifest as a module reference, or the list of packages? guix pack --format=docker -e '(@ (iic-osic manifest) iic-osic-packages)' In (iic-osic manifest) I have the variable iic-osic-manifest describe the manifest and: (define-public iic-osic-packages (map manifest-entry-item (manifest-entries iic-osic-manifest))) This wouldn't work, though:guix pack: error: expression "(@ (iic-osic manifest) iic-osic-packages)" does not evaluate to a package
It's not a coincidence that the manual page for 'guix pack -e' reads:
-e, --expression=EXPR
consider the package EXPR evaluates to
So, I guess provide a manifest file using -m option, or multiple -e options listing every package you want packed.
HTH
--
Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0
| GPG: 01DE 145E 35D8 C87E 956E FEC9 D4C4 4BDA 2C98 C654
"If I destroy you, what business is it of yours ?" (Dark Forest, Liu Cixin)
signature.asc
Description: PGP signature
