aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlaalsaas <laalsaas@systemli.org>2022-07-10 12:09:44 +0200
committerlaalsaas <laalsaas@systemli.org>2022-07-10 12:30:17 +0200
commiteac211a171fa6253b5ae6fdcf56fc5d0aced0201 (patch)
tree571568c93aabba5c88513c9770d389c71ad55a62
parentf6316b49a0c37172bca87ede6ea8144d7d89832f (diff)
Fix logical and typographical errors in nix-env man page
-rw-r--r--doc/manual/src/command-ref/nix-env.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/manual/src/command-ref/nix-env.md b/doc/manual/src/command-ref/nix-env.md
index 8d6abaf52..a372c5eae 100644
--- a/doc/manual/src/command-ref/nix-env.md
+++ b/doc/manual/src/command-ref/nix-env.md
@@ -31,7 +31,7 @@ subcommand to be performed. These are documented below.
Several commands, such as `nix-env -q` and `nix-env -i`, take a list of
arguments that specify the packages on which to operate. These are
extended regular expressions that must match the entire name of the
-package. (For details on regular expressions, see regex7.) The match is
+package. (For details on regular expressions, see **regex**(7).) The match is
case-sensitive. The regular expression can optionally be followed by a
dash and a version number; if omitted, any version of the package will
match. Here are some examples:
@@ -412,7 +412,7 @@ The upgrade operation determines whether a derivation `y` is an upgrade
of a derivation `x` by looking at their respective `name` attributes.
The names (e.g., `gcc-3.3.1` are split into two parts: the package name
(`gcc`), and the version (`3.3.1`). The version part starts after the
-first dash not followed by a letter. `x` is considered an upgrade of `y`
+first dash not followed by a letter. `y` is considered an upgrade of `x`
if their package names match, and the version of `y` is higher than that
of `x`.