stdenv: add shopt inherit_errexit

This commit is contained in:
happysalada 2021-09-26 21:05:10 +09:00 committed by Raphael Megzari
parent 84e4715a14
commit a634fbe065

View File

@ -1,5 +1,6 @@
set -eu
set -o pipefail
shopt -s inherit_errexit
if [[ -n "${BASH_VERSINFO-}" && "${BASH_VERSINFO-}" -lt 4 ]]; then
echo "Detected Bash version that isn't supported by Nixpkgs (${BASH_VERSION})"