diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-05-31 17:58:46 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-05-31 18:22:14 +0200 |
commit | 151afd84dc9bf8f13de79a689f7f163fba7254ec (patch) | |
tree | a20bebb620bc545f277cf2c6f709a2b881b1a3fb /THANKS | |
parent | 4078fa8f72fd109882f8b5e918cb6f7a9c1ed535 (diff) | |
download | guix-151afd84dc9bf8f13de79a689f7f163fba7254ec.tar.gz |
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.
Diffstat (limited to 'THANKS')
0 files changed, 0 insertions, 0 deletions