docs: fixed the default priority of nix-env --install (#8945)

This commit is contained in:
Emil Nikolov 2023-09-09 08:54:39 +02:00 committed by GitHub
parent 5473e10249
commit 2cdc9c32e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,7 +30,7 @@ a number of possible ways:
derivation with the highest *priority* is used. A derivation can
define a priority by declaring the `meta.priority` attribute. This
attribute should be a number, with a higher value denoting a lower
priority. The default priority is `0`.
priority. The default priority is `5`.
If there are multiple matching derivations with the same priority,
then the derivation with the highest version will be installed.