Allow to search builds by hash

Currently, a full store path has to be provided to search in builds. This patch permits to search jobs with a output path or derivation hash.

Usecase: we are building Docker images with Hydra. The tag of the Docker image is the hash of the image output path. This patch would allow us to find back the build job from the tag of a running container image.

Created by  Antoine Eiche  on June 4, 2019
E7OGIRKLEKZXSSFAO3Z6DSZJ5X5YNPMA2KBLCPJ4YBFAWCVXSB2AC
Change contents