aboutsummaryrefslogtreecommitdiff
path: root/src/nix/prefetch.cc
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2023-01-06 12:24:20 -0500
committerJohn Ericson <John.Ericson@Obsidian.Systems>2023-01-06 12:24:20 -0500
commit6a168254ce068c067259c913ee7d6ee2e0d1dc7e (patch)
tree7fd9315876cdca5224a978cba8b0a792bbd6710d /src/nix/prefetch.cc
parent8623143921f8683b88d46aaebe9f707e5b9a912b (diff)
Use named field initialization for references
Diffstat (limited to 'src/nix/prefetch.cc')
-rw-r--r--src/nix/prefetch.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/prefetch.cc b/src/nix/prefetch.cc
index aa302efc1..df9933d29 100644
--- a/src/nix/prefetch.cc
+++ b/src/nix/prefetch.cc
@@ -72,7 +72,7 @@ std::tuple<StorePath, Hash> prefetchFile(
.method = ingestionMethod,
.hash = *expectedHash,
},
- {},
+ .references = {},
});
if (store->isValidPath(*storePath))
hash = expectedHash;