diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-01-31 20:18:52 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-02-01 08:59:13 +0100 |
commit | 629a064f3244e8cd13114842969de7e3b6b02f46 (patch) | |
tree | 8886fc34606f4fe3d78bbbd42eea68d5e53e4c7c /gnu | |
parent | efdcb6f29cd0fd384ed88b0b9eb65547514a79a5 (diff) | |
download | patches-629a064f3244e8cd13114842969de7e3b6b02f46.tar patches-629a064f3244e8cd13114842969de7e3b6b02f46.tar.gz |
guix build: Transformations operate on single objects.
* guix/scripts/build.scm (transform-package-source): Return a procedure
that expects a single object rather than a list of packages.
(options->transformation): Rewrite to precompute the list of applicable
transformations and to return a procedure that expects a single object
rather than a list of objects.
(options->derivations): Adjust accordingly.
* tests/scripts-build.scm: New file.
* Makefile.am (SCM_TESTS): Add it.
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions