diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2023-01-06 15:36:05 -0500 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2023-01-06 15:36:05 -0500 |
commit | 46e942ff9e65755689ee72f93846d7118e1b8d45 (patch) | |
tree | 81c51237516835c37cb21407a391c905c16b5c08 /src/nix/profile.cc | |
parent | 9cfa78e58a92b4bf034867bc1296a200bdc3f12a (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.cc | 6 |
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); |