Skip to content

Commit

Permalink
version check: clearer language
Browse files Browse the repository at this point in the history
  • Loading branch information
kingarrrt committed Dec 3, 2023
1 parent 31984f6 commit 30e02c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion direnvrc
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ _nix() {
_require_version() {
local cmd=$1 version=$2 required=$3
if ! printf "%s\n" "$required" "$version" | sort --check=quiet --version-sort; then
_nix_direnv_fatal "$cmd version $version is less than the minimum required $required"
_nix_direnv_fatal "minimum required $cmd version is $required (installed: $version)"
fi
}

Expand Down

0 comments on commit 30e02c2

Please sign in to comment.