hydra-queue-runner: Support running in a NixOS container

In a NixOS container, cmdBuildDerivation doesn't work because we're not privileged. But we also don't need it because the store already has the derivation.

Also, don't copy from/to the store since this gives errors about missing signatures.

Created by  Eelco Dolstra  on September 25, 2019
2GRQJZT6YNH32ZAXX3OALH7Z3XU3YTPH4SBTMG5ZZ373KHYFXZ7AC
Change contents