From dd1a5a152c679ba2d386dc66127a0de924182e26 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 4 Dec 2013 16:07:36 +0100 Subject: derivations: Use more keyword parameters for 'build-expression->derivation'. * guix/derivations.scm (build-expression->derivation): Turn 'system' and 'inputs' into keyword parameters. Adjust callers accordingly. * gnu/system/linux.scm, gnu/system/vm.scm, guix/build-system/cmake.scm, guix/build-system/gnu.scm, guix/build-system/perl.scm, guix/build-system/python.scm, guix/build-system/trivial.scm, guix/download.scm, guix/packages.scm, guix/profiles.scm, guix/scripts/pull.scm, tests/derivations.scm, tests/guix-build.sh, tests/monads.scm, tests/store.scm, tests/union.scm: Adjust users of 'build-expression->derivation' and 'derivation-expression' accordingly. * doc/guix.texi (Derivations): Adjust 'build-expression->derivation' documentation accordingly. (The Store Monad): Likewise for 'derivation-expression'. --- tests/guix-build.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/guix-build.sh') diff --git a/tests/guix-build.sh b/tests/guix-build.sh index 391e7b9da3..d66e132c1f 100644 --- a/tests/guix-build.sh +++ b/tests/guix-build.sh @@ -77,6 +77,5 @@ then false; else true; fi guix build -e "(begin (use-modules (guix monads) (guix utils)) (lambda () - (derivation-expression \"test\" (%current-system) - '(mkdir %output) '())))" \ + (derivation-expression \"test\" '(mkdir %output))))" \ --dry-run -- cgit v1.2.3