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 stdenv: allow custom stdenv to take crossOverlays 2019-01-07 20:53:10 -06:00
cygwin treewide: Make still dont* Variables are optional in most cases 2019-11-01 14:44:44 -04:00
darwin darwin/make-bootstrap-tools: remove references to old libSystem 2020-11-12 16:57:19 +09:00
freebsd stdenv: implement crossOverlays 2018-12-04 21:06:46 -06:00
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 stdenv: implement crossOverlays 2018-12-04 21:06:46 -06:00
adapters.nix pkgsStatic: fix eval on Darwin 2020-04-28 08:41:48 -07:00
booter.nix pkgs/stdenv/booter.nix: Add comment explaining hasCC trickery 2019-12-30 18:09:45 -05:00
common-path.nix
default.nix treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00