aboutsummaryrefslogtreecommitdiff
path: root/src/nix/profile.cc
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2023-01-06 15:36:05 -0500
committerJohn Ericson <John.Ericson@Obsidian.Systems>2023-01-06 15:36:05 -0500
commit46e942ff9e65755689ee72f93846d7118e1b8d45 (patch)
tree81c51237516835c37cb21407a391c905c16b5c08 /src/nix/profile.cc
parent9cfa78e58a92b4bf034867bc1296a200bdc3f12a (diff)
Do big rename to clean up code
- `PathReferences` -> `References` - `PathReferences<StorePath>` -> `StoreReference` - `references` -> `others` - `hasSelfReference` -> `self` And get rid of silly subclassing
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);