guix/nix/libstore
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
..
.gitignore
build.cc daemon: Fix typo. 2016-05-31 18:22:14 +02:00
derivations.cc
derivations.hh
gc.cc
globals.cc
globals.hh
local-store.cc daemon: Substitute queries return immediately when substitutes are disabled. 2016-05-31 18:22:14 +02:00
local-store.hh
misc.cc
misc.hh
optimise-store.cc
pathlocks.cc daemon: ~PathLocks(): Handle exceptions. 2016-05-31 14:25:28 +02:00
pathlocks.hh
references.cc
references.hh
schema.sql
store-api.cc
store-api.hh
worker-protocol.hh