mirror of
https://github.com/NixOS/nix
synced 2025-06-30 07:33:16 +02:00
Make EvalState::inputAccessors keyed by the accessor number
This commit is contained in:
parent
f95c425db1
commit
30be6445e6
3 changed files with 7 additions and 11 deletions
|
@ -114,7 +114,9 @@ public:
|
|||
|
||||
const SourcePath derivationInternal;
|
||||
|
||||
std::unordered_map<InputAccessor *, ref<InputAccessor>> inputAccessors;
|
||||
/* A map keyed by InputAccessor::number that keeps input accessors
|
||||
alive. */
|
||||
std::unordered_map<size_t, ref<InputAccessor>> inputAccessors;
|
||||
|
||||
/* Store used to materialise .drv files. */
|
||||
const ref<Store> store;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue