1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-01 00:07:58 +02:00

Move querySubstitutablePathInfos from LocalStore to Store

The code is not local-store-specific, so we should share it with all
stores. More uniform behavior is better, and a less store-specific
functionality is more maintainable.

This fixes a FIXME added in f73d911628 by @edolstra himself.
This commit is contained in:
John Ericson 2023-04-02 20:28:10 -04:00
parent 2ef99cd104
commit 9383520b75
4 changed files with 49 additions and 52 deletions

View file

@ -456,7 +456,7 @@ public:
* resulting infos map.
*/
virtual void querySubstitutablePathInfos(const StorePathCAMap & paths,
SubstitutablePathInfos & infos) { return; };
SubstitutablePathInfos & infos);
/**
* Import a path into the store.