mirror of
https://github.com/NixOS/nix.git
synced 2025-11-26 04:00:59 +01:00
Rename ε to "(no version)"
This commit is contained in:
parent
44bdb74c62
commit
7d2dbbd3aa
4 changed files with 3 additions and 7 deletions
|
|
@ -347,10 +347,6 @@
|
||||||
|
|
||||||
The empty set symbol. In the context of profile history, this denotes a package is not present in a particular version of the profile.
|
The empty set symbol. In the context of profile history, this denotes a package is not present in a particular version of the profile.
|
||||||
|
|
||||||
- [`ε`]{#gloss-epsilon}
|
|
||||||
|
|
||||||
The epsilon symbol. In the context of a package, this means the version is empty. More precisely, the derivation does not have a version attribute.
|
|
||||||
|
|
||||||
- [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.
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,7 @@ std::string showVersions(const StringSet & versions)
|
||||||
if (versions.empty()) return "∅";
|
if (versions.empty()) return "∅";
|
||||||
StringSet versions2;
|
StringSet versions2;
|
||||||
for (auto & version : versions)
|
for (auto & version : versions)
|
||||||
versions2.insert(version.empty() ? "ε" : version);
|
versions2.insert(version.empty() ? "(no version)" : version);
|
||||||
return concatStringsSep(", ", versions2);
|
return concatStringsSep(", ", versions2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ No size change is shown if it's below the threshold. If the package
|
||||||
does not exist in either the *before* or *after* closures, it is
|
does not exist in either the *before* or *after* closures, it is
|
||||||
represented using `∅` (empty set) on the appropriate side of the
|
represented using `∅` (empty set) on the appropriate side of the
|
||||||
arrow. If a package has an empty version string, the version is
|
arrow. If a package has an empty version string, the version is
|
||||||
rendered as `ε` (epsilon).
|
rendered as `(no version)`.
|
||||||
|
|
||||||
There may be multiple versions of a package in each closure. In that
|
There may be multiple versions of a package in each closure. In that
|
||||||
case, only the changed versions are shown. Thus,
|
case, only the changed versions are shown. Thus,
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,7 @@ nix profile list | grep -A4 'Name:.*flake1' | grep 'Locked flake URL:.*narHash'
|
||||||
(! [ -e $TEST_HOME/.nix-profile/include ])
|
(! [ -e $TEST_HOME/.nix-profile/include ])
|
||||||
nix profile history
|
nix profile history
|
||||||
nix profile history | grep "packages.$system.default: ∅ -> 1.0"
|
nix profile history | grep "packages.$system.default: ∅ -> 1.0"
|
||||||
nix profile diff-closures | grep 'env-manifest.nix: ε → ∅'
|
nix profile diff-closures | grep 'env-manifest.nix: (no version) → ∅'
|
||||||
|
|
||||||
# Test XDG Base Directories support
|
# Test XDG Base Directories support
|
||||||
export NIX_CONFIG="use-xdg-base-directories = true"
|
export NIX_CONFIG="use-xdg-base-directories = true"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue