Use the nix provided shell.

This is guaranteed to be bash, SmartOS has ksh by
 default and doesn't work.
SmartOS: Fix w3m build
Tinc 1.1-git: user friendlier and works on SmartOS
Add HAProxy 1.5-dev21 with SSL, works on SmartOS.
GCC 4.8 compiles on Illumos.

- Disable profiled bootstrap.
- Add illumos meta platform.
Update coreutils to version 8.22

Patch seems no longer required.
Pre-configure replace #!/bin/sh with known path
to Bash.

On Illumos/Solaris, the default shell for /bin/sh
is KSH. Unfortunately most configure and libtool
scripts are incompatible with this shell
(syntax errors, unknown commands like print, ...).

Also tail seems to be picky about the space after
-c when compiled by Nix on Illumos (no idea why).
Fix bison build on Illumos.
Patch ncurses for GCC 4.8 again...
Fix libelf build on Illumos
More robust configure scripts shell path patching.
Less builds fine on Illumos.
Update HAProxy to 1.5-dev22

Change platform to unix. Works on Illumos.
Update tinc to 1.1-pre10
Find scripts to shebang patch from the build root.
Return true when no files are found.

While trying to build a package that has no
configure or libtool scripts, sed will exit with
error 'no input files found'. Return true instead.
Fix build of gccgo-wrapper on Illumos.

When compiling GCC with NIX_ENFORCE_PURITY,
linking libgcc fails because crti.o and friends
aren't part of the nix store.
Fix dbus-tools build on SmartOS

`ld` on illumos does not understand `--as-needed`
Add Oracle JDK 7 for Illumos
SmartOS: Make pkgconfig use proper i18n.
Fix non-chrooted (stdenv-native) builds that have `man` on path enabling
building of built-in manual, while chrooted builds (hydra) will not…