aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarlo Nucera <carlo.nucera@protonmail.com>2020-06-23 17:16:20 -0400
committerCarlo Nucera <carlo.nucera@protonmail.com>2020-06-23 17:16:20 -0400
commit8d51d38e4ccf2ca0fa0b0471b32531fe287e38a4 (patch)
tree379e759993556cd5c6d61976b693acd49833c106 /src
parentec3a85730742497b29782c0b545911eb78d3c65e (diff)
Fix test suite
Diffstat (limited to 'src')
-rw-r--r--src/nix/add-to-store.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/add-to-store.cc b/src/nix/add-to-store.cc
index de68e9501..ad1f9e91f 100644
--- a/src/nix/add-to-store.cc
+++ b/src/nix/add-to-store.cc
@@ -46,7 +46,7 @@ struct CmdAddToStore : MixDryRun, StoreCommand
auto narHash = hashString(htSHA256, *sink.s);
ValidPathInfo info(store->makeFixedOutputPath(FileIngestionMethod::Recursive, narHash, *namePart));
- *info.narHash = narHash;
+ info.narHash = narHash;
info.narSize = sink.s->size();
info.ca = std::optional { FixedOutputHash {
.method = FileIngestionMethod::Recursive,