mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
stdenv: bump required Bash version from 4 to 5 (#340765)
This commit is contained in:
commit
f4cd623ed3
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user