mirror of
https://github.com/NixOS/nix.git
synced 2025-11-28 13:11:00 +01:00
DummyStore build trace holds UnkeyedRealisation by value
Otherwise the equality instance we need to add will be messed up.
This commit is contained in:
parent
f78e88c973
commit
b0c016ae7d
3 changed files with 5 additions and 6 deletions
|
|
@ -27,7 +27,7 @@ TEST(DummyStore, realisation_read)
|
|||
.outPath = StorePath{"g1w7hy3qg1w7hy3qg1w7hy3qg1w7hy3q-foo.drv"},
|
||||
};
|
||||
|
||||
store->buildTrace.insert({drvHash, {{outputName, make_ref<UnkeyedRealisation>(value)}}});
|
||||
store->buildTrace.insert({drvHash, {{outputName, value}}});
|
||||
|
||||
auto value2 = store->queryRealisation({drvHash, outputName});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue