3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/stdenv
Matthew Bauer 8fa084dc0f stdenv/setup.sh: Add version check to setup script
Only bash 4+ works in setup.sh. To make sure this is obvious, we can
check BASH_VERSINFO to get the major version number of Bash.

While Bash 3 is pretty rare, it still comes stock in macOS.

We *could* provide a warning here for non-Bash shells, but it’s not
always clear whether they will work or not. Zsh should have no trouble
while busybox sh, fish, or any others. There’s no great way to detect
what feature set the shell supports.

Fixes #71625
2021-06-23 01:32:58 -05:00
..
cross Merge pull request #86223 from pikajude/darwin-static-eval 2020-09-30 23:44:18 +02:00
custom
cygwin
darwin darwin/make-bootstrap-tools: remove references to old libSystem 2020-11-12 16:57:19 +09:00
freebsd
generic stdenv/setup.sh: Add version check to setup script 2021-06-23 01:32:58 -05:00
linux makeBootstrapTools: set schedulingPriority 2020-12-02 20:32:38 +01:00
native stdenv/native: provide patchelf on linux 2020-08-25 17:54:27 -05:00
nix
adapters.nix
booter.nix
common-path.nix
default.nix