mirror of
https://github.com/NixOS/nix.git
synced 2025-11-20 09:19:36 +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
|
|
@ -71,8 +71,8 @@ DownloadFileResult downloadFile(
|
|||
info.narHash = hashString(HashType::SHA256, *sink.s);
|
||||
info.narSize = sink.s->size();
|
||||
info.ca = FileSystemHash {
|
||||
.method = FileIngestionMethod::Flat,
|
||||
.hash = hash,
|
||||
FileIngestionMethod::Flat,
|
||||
hash,
|
||||
};
|
||||
auto source = StringSource { *sink.s };
|
||||
store->addToStore(info, source, NoRepair, NoCheckSigs);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue