1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-17 14:31:06 +01:00

Input::getAccessor(): Get the fingerprint from the final accessor

Fixes an issue reported by @erikarvstedt where
InputAccessor::fetchToStore() wouldn't cache the store path the first
time.
This commit is contained in:
Eelco Dolstra 2022-10-10 17:50:21 +02:00
parent 1483c56582
commit 7317196807
2 changed files with 2 additions and 1 deletions

View file

@ -130,6 +130,7 @@ struct CacheImpl : Cache
std::string_view key,
std::string_view value) override
{
debug("upserting fact '%s' -> '%s'", key, value);
_state.lock()->upsertFact.use()
(key)
(value).exec();