mirror of
https://github.com/NixOS/nix.git
synced 2025-11-14 22:42:41 +01:00
No C++ designated initializers yet with Clang 7
This commit is contained in:
parent
3c78ac348c
commit
53bc8ff152
5 changed files with 8 additions and 14 deletions
|
|
@ -1093,10 +1093,7 @@ StorePath LocalStore::addToStoreFromDump(const string & dump, const string & nam
|
|||
ValidPathInfo info(dstPath.clone());
|
||||
info.narHash = hash.first;
|
||||
info.narSize = hash.second;
|
||||
info.ca = FileSystemHash {
|
||||
.method = method,
|
||||
.hash = h,
|
||||
};
|
||||
info.ca = FileSystemHash { method, h };
|
||||
registerValidPath(info);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue