diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-05-29 23:04:15 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-05-29 23:22:05 +0200 |
commit | c3eb878f0beb792f19d72edef62f267560c39162 (patch) | |
tree | f434e0c2773e7bd3a5b4e5ab65c1f5e4f09ba7c0 /guix | |
parent | acc26ff148f0b70cafbcfa281e3bf18bde4e297f (diff) | |
download | gnu-guix-c3eb878f0beb792f19d72edef62f267560c39162.tar gnu-guix-c3eb878f0beb792f19d72edef62f267560c39162.tar.gz |
store: Test the `fallback?' store option.
* guix/store.scm (set-build-options): Rename #:try-fallback? to #:fallback?.
* tests/store.scm ("substitute --fallback"): New test.
Diffstat (limited to 'guix')
-rw-r--r-- | guix/store.scm | 4 |
1 files changed, 2 insertions, 2 deletions
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?))) |