From 629a064f3244e8cd13114842969de7e3b6b02f46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sun, 31 Jan 2016 20:18:52 +0100 Subject: 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. --- Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 6784da014b..dea26c81bd 100644 --- a/Makefile.am +++ b/Makefile.am @@ -243,6 +243,7 @@ SCM_TESTS = \ tests/file-systems.scm \ tests/system.scm \ tests/services.scm \ + tests/scripts-build.scm \ tests/containers.scm \ tests/import-utils.scm -- cgit v1.2.3