aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/make-content-addressed.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/make-content-addressed.cc')
-rw-r--r--src/libstore/make-content-addressed.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/libstore/make-content-addressed.cc b/src/libstore/make-content-addressed.cc
index 53fe04704..349c2f187 100644
--- a/src/libstore/make-content-addressed.cc
+++ b/src/libstore/make-content-addressed.cc
@@ -52,10 +52,8 @@ std::map<StorePath, StorePath> makeContentAddressed(
dstStore,
path.name(),
FixedOutputInfo {
- .hash = {
- .method = FileIngestionMethod::Recursive,
- .hash = narModuloHash,
- },
+ .method = FileIngestionMethod::Recursive,
+ .hash = narModuloHash,
.references = std::move(refs),
},
Hash::dummy,