Fix running preHook

Accidentally (?) lost in e3875297fac671f20feb803306e7c55789ac749e.
stdenv: Statically include the default build inputs

Otherwise, stdenv won't have a reference to e.g. patchelf on Linux
(because it was passed in by mkDerivation). This causes the installer
tests to fail, because having "stdenv" in the installation CD closure
is not enough to pull in all stdenv packages.

http://hydra.nixos.org/build/16546643
stdenv: Remove propagatedUserEnvPkgs

Stdenv is not really intended as an installable package. Nowadays it's
much better to use "nix-shell -p" to get a build environment.
Fix stdenv allowedRequisites check

It has to include the default build inputs now (like
"compress-man-pages.sh").