aboutsummaryrefslogtreecommitdiff
path: root/src/nix/add-to-store.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix/add-to-store.cc')
-rw-r--r--src/nix/add-to-store.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nix/add-to-store.cc b/src/nix/add-to-store.cc
index b92597cc2..3162e0c62 100644
--- a/src/nix/add-to-store.cc
+++ b/src/nix/add-to-store.cc
@@ -49,8 +49,8 @@ struct CmdAddToStore : MixDryRun, StoreCommand
info.narHash = narHash;
info.narSize = sink.s->size();
*info.ca = FileSystemHash {
- .method = FileIngestionMethod::Recursive,
- .hash = info.narHash
+ FileIngestionMethod::Recursive,
+ info.narHash,
};
if (!dryRun) {