guix/nix
Ludovic Courtès 151afd84dc
daemon: Substitute queries return immediately when substitutes are disabled.
Reported by Federico Beffa <beffa@ieee.org>
at <https://lists.gnu.org/archive/html/guix-devel/2016-05/msg00928.html>.

* nix/libstore/local-store.cc (LocalStore::querySubstitutablePaths)
(LocalStore::querySubstitutablePathInfos): Return when
'settings.useSubstitutes' is false.
* tests/store.scm ("references/substitutes missing reference info"):
Make sure to return #f on failure.
* tests/store.scm ("substitutable-path-info when substitutes are turned off"):
("substitutable-paths when substitutes are turned off"): New tests.
2016-05-31 18:22:14 +02:00
..
boost
guix-register
libstore daemon: Substitute queries return immediately when substitutes are disabled. 2016-05-31 18:22:14 +02:00
libutil daemon: Remove unused XML output code. 2016-05-31 18:22:14 +02:00
nix-daemon build: Default to "https://mirror.hydra.gnu.org/" for substitutes. 2016-03-16 11:27:37 +01:00
scripts
.gitignore
AUTHORS
COPYING
local.mk daemon: Remove unused XML output code. 2016-05-31 18:22:14 +02:00