guix-devel/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 Merge branch 'nix'. 2015-07-03 00:30:55 +02:00
derivations.hh Merge branch 'nix'. 2015-07-03 00:30:55 +02:00
gc.cc Merge branch 'nix'. 2015-07-03 00:30:55 +02:00
globals.cc daemon: Allow builds to be repeated. 2015-12-08 23:58:12 +01:00
globals.hh daemon: Allow builds to be repeated. 2015-12-08 23:58:12 +01:00
local-store.cc daemon: Substitute queries return immediately when substitutes are disabled. 2016-05-31 18:22:14 +02:00
local-store.hh Merge branch 'nix'. 2015-06-03 22:59:02 +02:00
misc.cc Merge branch 'nix'. 2015-07-03 00:30:55 +02:00
misc.hh Merge branch 'nix'. 2015-07-03 00:30:55 +02:00
optimise-store.cc daemon: optimizePath: Detect some .links corruptions. 2015-12-02 19:37:59 +02:00
pathlocks.cc daemon: ~PathLocks(): Handle exceptions. 2016-05-31 14:25:28 +02:00
pathlocks.hh Merge branch 'nix' into 'master'. 2014-12-19 22:47:37 +01:00
references.cc Merge branch 'nix' into 'master'. 2014-12-19 22:47:37 +01:00
references.hh Merge branch 'nix' into 'master'. 2014-12-19 22:47:37 +01:00
schema.sql Merge branch 'nix' into 'master'. 2014-12-19 22:47:37 +01:00
store-api.cc daemon: Remove unused 'RemoteStore' class. 2015-12-30 01:20:41 +01:00
store-api.hh daemon: Better distinguish build statuses. 2015-12-13 19:20:01 +01:00
worker-protocol.hh daemon: Add 'buildMode' parameter to 'buildPaths' RPC. 2015-12-02 19:37:59 +02:00