Same as https://github.com/NixOS/nix/pull/3757
To avoid breakages as in: https://github.com/NixOS/hydra/pull/731