nixpkgs/pkgs/stdenv/generic
aszlig 739c835515
stdenv-setup: Remove superfluous check for /bin/sh
The line was essentially checking whether /bin/sh exists and is
executable and if that's the case, the isScript function returns
successfully.

When asking the author of this line on IRC it seems that even they can't
remember or imagine what this was supposed to be.

In summary: Whenever /bin/sh doesn't exist during a build, *any* file
given to isScript is reported as being a script even if it isn't.

This is kinda counter-intuitive and not something what somebody would
expect from a function called "isScript".

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @edolstra
2018-07-09 20:43:34 +02:00
..
builder.sh stdenvs: Distinguish between extraBuildInputs and extraNativeBuildInputs 2017-08-18 12:02:13 -04:00
check-meta.nix check-meta.nix: specify meta.timeout 2018-04-27 00:25:37 +02:00
default-builder.sh * "." -> "source". 2005-12-05 14:11:09 +00:00
default.nix stdenv: Avoid targetPlatform.isDarwin causing a mass rebuild 2018-05-23 10:06:08 -04:00
make-derivation.nix Merge remote-tracking branch 'upstream/staging' into strictDeps 2018-05-14 23:33:03 -04:00
setup.sh stdenv-setup: Remove superfluous check for /bin/sh 2018-07-09 20:43:34 +02:00