From c3eb878f0beb792f19d72edef62f267560c39162 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 29 May 2013 23:04:15 +0200 Subject: store: Test the `fallback?' store option. * guix/store.scm (set-build-options): Rename #:try-fallback? to #:fallback?. * tests/store.scm ("substitute --fallback"): New test. --- guix/store.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'guix/store.scm') diff --git a/guix/store.scm b/guix/store.scm index b82588b2a0..d15ba1275f 100644 --- a/guix/store.scm +++ b/guix/store.scm @@ -354,7 +354,7 @@ encoding conversion errors." (status k)))))))) (define* (set-build-options server - #:key keep-failed? keep-going? try-fallback? + #:key keep-failed? keep-going? fallback? (verbosity 0) (max-build-jobs (current-processor-count)) (max-silent-time 3600) @@ -377,7 +377,7 @@ encoding conversion errors." ...))))) (write-int (operation-id set-options) socket) (send (boolean keep-failed?) (boolean keep-going?) - (boolean try-fallback?) (integer verbosity) + (boolean fallback?) (integer verbosity) (integer max-build-jobs) (integer max-silent-time)) (if (>= (nix-server-minor-version server) 2) (send (boolean use-build-hook?))) -- cgit v1.2.3