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:
parent
2ef99cd104
commit
9383520b75
4 changed files with 49 additions and 52 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue