mirror of
https://github.com/NixOS/nix.git
synced 2025-11-16 15:32:43 +01:00
WIP: Make Hash always store a valid hash type
This commit is contained in:
parent
984e521392
commit
507aa48739
29 changed files with 126 additions and 124 deletions
|
|
@ -462,7 +462,7 @@ void RemoteStore::addToStore(const ValidPathInfo & info, Source & source,
|
|||
conn->to << wopAddToStoreNar
|
||||
<< printStorePath(info.path)
|
||||
<< (info.deriver ? printStorePath(*info.deriver) : "")
|
||||
<< info.narHash.to_string(Base16, false);
|
||||
<< info.narHash->to_string(Base16, false);
|
||||
writeStorePaths(*this, conn->to, info.references);
|
||||
conn->to << info.registrationTime << info.narSize
|
||||
<< info.ultimate << info.sigs << info.ca
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue