For nix-shell, set some more variables in preHook

Created by  Eelco Dolstra  on August 12, 2013
7EYLYIJRXMI2GUDVKCF73BI4G2OIL3RPQX42TOKILZCUA4OG6GJQC
Change contents