diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-09-24 22:13:06 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-10-02 23:28:09 +0200 |
commit | ad54a73bb820a685f242976a86be63931789fa97 (patch) | |
tree | 18b1b167bb165360b2b4799565330fca9ef9b689 /Makefile.am | |
parent | 63e5ef402b66950b8fd24ba3808c022084cdb955 (diff) | |
download | guix-ad54a73bb820a685f242976a86be63931789fa97.tar guix-ad54a73bb820a685f242976a86be63931789fa97.tar.gz |
guix build: Record package transformations in manifest entries.
With this change, package transformation options used while building a
manifest are saved in the metadata of the manifest entries.
* guix/scripts/build.scm (transformation-procedure): New procedure.
(options->transformation)[applicable]: Use it. Change to a list of
key/value/proc tuples instead of key/proc pairs.
[package-with-transformation-properties, tagged-object]: New
procedures. Use them.
(package-transformations, manifest-entry-with-transformations): New
procedures.
* guix/scripts/pack.scm (guix-pack)[with-transformations]: New
procedure.
Use it.
* guix/scripts/package.scm (process-actions)[transform-entry]: Use it.
* tests/guix-package-aliases.sh: Add test.
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions