1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00
nixpkgs/pkgs/stdenv
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
..
cross android: add ndkVer to resolve ndk ambiguity 2018-06-22 11:06:17 -04:00
custom top-level: {build,host,target}Platform are defined in the stdenv instead 2017-07-07 12:55:02 -04:00
cygwin Fix invalid Baseaddress must be > 0x200000000 on cygwin 2018-04-14 14:06:09 +02:00
darwin Merge remote-tracking branch 'upstream/master' into staging 2018-06-18 15:30:39 -04:00
freebsd fetchurl: cleanup, better errors 2018-02-18 14:24:53 +00:00
generic stdenv-setup: Remove superfluous check for /bin/sh 2018-07-09 20:43:34 +02:00
linux make-bootstrap-tools-cross: remove broken i686-musl variant 2018-06-25 11:16:10 -05:00
native Fix stdenv-native by creating a bintools wrapper with similar settings 2018-04-14 14:05:09 +02:00
nix cc-wrapper: Use stdenvNoCC to build 2017-09-26 14:08:21 -04:00
adapters.nix stdenv cross adapter: Don't define crossConfig 2018-05-14 23:33:12 -04:00
booter.nix treewide: Depend on targetPackages.stdenv.cc.bintools instead of binutils directly 2017-11-05 17:10:53 -05:00
common-path.nix
default.nix lib, treewide: Add missing MIPS arches, and fix existing usage 2018-02-23 20:43:42 -05:00