make ami.nix more hydra-friendly