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
+2 -2
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