Return Builds.drvpath in the JSON API

E.g.

  curl -H 'Accept: application/json' http://127.0.0.4/build/3772858 | jq -r .drvpath
  /nix/store/97vla79lavlcsk8milskr06rfm34bskx-patchelf-0.8pre843_f4522f4.drv
This commit is contained in:
Eelco Dolstra 2017-09-12 18:42:18 +02:00
parent 4af97c57f5
commit d676c91bd5
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -619,7 +619,8 @@ my %hint = (
'system', 'system',
'priority', 'priority',
'buildstatus', 'buildstatus',
'releasename' 'releasename',
'drvpath',
], ],
relations => { relations => {
jobsetevals => 'id' jobsetevals => 'id'