diff --git a/bin/ci b/bin/ci index af0324bae40a..dd177876884c 100755 --- a/bin/ci +++ b/bin/ci @@ -138,6 +138,14 @@ prepare_build() { on_osx brew update --preinstall on_osx brew bundle --no-lock + # Install a recent bash version for nix-shell. + # macos ships with an ancient one. + if [ `uname` = "Darwin" ]; then + on_nix_shell "brew install bash" + fi + # initialize nix environment + on_nix_shell nix-shell + # Note: brew link --force might show: # Warning: Refusing to link macOS-provided software: llvm #