aboutsummaryrefslogtreecommitdiff
path: root/src/nix/profile.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix/profile.cc')
-rw-r--r--src/nix/profile.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/nix/profile.cc b/src/nix/profile.cc
index 614a37eba..8a0f06435 100644
--- a/src/nix/profile.cc
+++ b/src/nix/profile.cc
@@ -205,12 +205,14 @@ struct ProfileManifest
.method = FileIngestionMethod::Recursive,
.hash = narHash,
},
- .references = { references },
+ .references = {
+ .others = std::move(references),
+ .self = false,
+ },
},
},
narHash,
};
- info.references = std::move(references);
info.narSize = sink.s.size();
StringSource source(sink.s);