1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-11 13:06:01 +01:00

Replace ∅ with (absent)

This commit is contained in:
Graham Christensen 2025-06-02 09:28:59 -04:00
parent 7d2dbbd3aa
commit 039d19159f
2 changed files with 1 additions and 5 deletions

View file

@ -343,10 +343,6 @@
See [Nix Archive](store/file-system-object/content-address.html#serial-nix-archive) for details. See [Nix Archive](store/file-system-object/content-address.html#serial-nix-archive) for details.
- [`∅`]{#gloss-empty-set}
The empty set symbol. In the context of profile history, this denotes a package is not present in a particular version of the profile.
- [package]{#package} - [package]{#package}
A software package; files that belong together for a particular purpose, and metadata. A software package; files that belong together for a particular purpose, and metadata.

View file

@ -49,7 +49,7 @@ GroupedPaths getClosureInfo(ref<Store> store, const StorePath & toplevel)
std::string showVersions(const StringSet & versions) std::string showVersions(const StringSet & versions)
{ {
if (versions.empty()) return ""; if (versions.empty()) return "(absent)";
StringSet versions2; StringSet versions2;
for (auto & version : versions) for (auto & version : versions)
versions2.insert(version.empty() ? "(no version)" : version); versions2.insert(version.empty() ? "(no version)" : version);