diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2020-06-19 17:42:56 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2020-06-19 17:42:56 +0000 |
commit | 911fc88bcb467ff779c5d0ab49e0a5525f284e19 (patch) | |
tree | c639f8f2398476ef66318d935de46547f2cd4904 /src/nix/add-to-store.cc | |
parent | 2f0e395c99f926b9f0a65e37ea644a40ec5dddfa (diff) |
More designated initializers
Diffstat (limited to 'src/nix/add-to-store.cc')
-rw-r--r-- | src/nix/add-to-store.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nix/add-to-store.cc b/src/nix/add-to-store.cc index 6d90e93e8..f9d6de16e 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 = std::optional { FixedOutputHash { - FileIngestionMethod::Recursive, - info.narHash, + .method = FileIngestionMethod::Recursive, + .hash = info.narHash, } }; if (!dryRun) { |