scripts: package: Transform before creating manifest entries.
authorJosselin Poiret <dev@jpoiret.xyz>
Mon, 9 May 2022 14:54:10 +0000 (16:54 +0200)
committerLudovic Courtès <ludo@gnu.org>
Mon, 23 May 2022 14:24:46 +0000 (16:24 +0200)
commitaaf547824e389b68c028c9b3fd4d15fd2991dc31
treeefe4ebee184c816bb1a7ddfdcef9bb72b8373171
parenta6da02217ec340aaf8fc23ea9c42b6b623892309
scripts: package: Transform before creating manifest entries.

* guix/scripts/package.scm (options->installable): Add TRANSFORM
argument, to be able to directly transform the new packages before
creating their manifest entries.
(process-actions): Remove transform-entry, and step3, transforming
directly in step2.
* tests/guix-package.sh: Add test.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
guix/scripts/package.scm
tests/guix-package.sh