Original commit was reverted due to using features from a newer nix than hydra had, hydra has since been updated This reverts commit 07e726c8.