Skip to content

Commit

Permalink
stdenv: bump required Bash version from 4 to 5 (#340765)
Browse files Browse the repository at this point in the history
  • Loading branch information
philiptaron authored Sep 11, 2024
2 parents 9f946fd + 799d0c8 commit f4cd623
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/stdenv/generic/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit f4cd623

Please sign in to comment.