Hello!

Christopher Baines via "Development of GNU Guix and the GNU System
distribution." <[email protected]> skribis:

> There's a one to one mapping of build id to derivation, so allow querying by
> derivation file name as well. I'm looking at this as I'm interested in getting
> build information in to the Guix Data Service.
>
> * src/cuirass/http.scm (url-handler): Add new clause to match statement, to
> return build information by derivation file name.

[...]

> +    (("build" "gnu" "store" derivation-file-name)

Perhaps we can avoid /gnu/store in the URL, and…

> +     (let* ((full-derivation-file-name
> +             (string-append "/gnu/store/" derivation-file-name))

… use (%store-prefix) instead of "/gnu/store" here

Otherwise LGTM, thanks!

Ludo’.

Reply via email to