stdenv: bump required Bash version from 4 to 5 (#340765)

This commit is contained in:
Philip Taron 2024-09-11 07:32:57 -07:00 committed by GitHub
commit f4cd623ed3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,9 +4,9 @@ __nixpkgs_setup_set_original=$-
set -eu
set -o pipefail
if [[ -n "${BASH_VERSINFO-}" && "${BASH_VERSINFO-}" -lt 4 ]]; then
if [[ -n "${BASH_VERSINFO-}" && "${BASH_VERSINFO-}" -lt 5 ]]; then
echo "Detected Bash version that isn't supported by Nixpkgs (${BASH_VERSION})"
echo "Please install Bash 4 or greater to continue."
echo "Please install Bash 5 or greater to continue."
exit 1
fi