Upgrade nix to 1.6pre

This should fix travis-ci's kernel compatibility.  Also, introduced some
magic around perl wrapping, so that the user sees warning messages for
every execution of a wrapper when nix is not properly upgraded after a
git pull.