aboutsummaryrefslogtreecommitdiff
path: root/src/nix/profile.cc
diff options
context:
space:
mode:
authorCarlo Nucera <carlo.nucera@protonmail.com>2020-07-28 14:22:24 -0400
committerCarlo Nucera <carlo.nucera@protonmail.com>2020-07-28 14:22:24 -0400
commitc318d398f37714c98f16b83d3afcafa856f91266 (patch)
tree35eb840a8c09e4bd83b9837bbb0b5f610e2b29b6 /src/nix/profile.cc
parent7ef1e3cd1429f336c568ccf4d59cd89cde68efbd (diff)
parent7cf978440c62b6677b068f10ee7ef22a09e7b1b8 (diff)
Merge branch 'misc-ca' of github.com:obsidiansystems/nix into new-interface-for-path-pathOpt
Diffstat (limited to 'src/nix/profile.cc')
-rw-r--r--src/nix/profile.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/profile.cc b/src/nix/profile.cc
index c6cd88c49..7dcc0b6d4 100644
--- a/src/nix/profile.cc
+++ b/src/nix/profile.cc
@@ -133,7 +133,7 @@ struct ProfileManifest
info.references = std::move(references);
info.narHash = narHash;
info.narSize = sink.s->size();
- info.ca = FixedOutputHash { .method = FileIngestionMethod::Recursive, .hash = info.narHash };
+ info.ca = FixedOutputHash { .method = FileIngestionMethod::Recursive, .hash = *info.narHash };
auto source = StringSource { *sink.s };
store->addToStore(info, source);