Update to latest Nix and fix compilation

Created by  Eelco Dolstra  on November 7, 2019
EANSNASYCPVCRCNGDVLAWWDOTWW6FCMETK7LYILE3YN7GRJL6PPQC
Change contents