fix hydra build on nixpkgs master

copied from https://github.com/NixOS/nixpkgs/commit/c5019585354291686e7b8c6a263336782d9de814

Created by  Michael Bishop  on September 10, 2018
IE6AMEHDUZV2AJOHC2O6SGB4ECG5ZVR5EO7VGM2I3VA4TV2MPRWAC
Change contents