The builder program we can perhaps treat as a store path (or at least as a file inside a store path?).
Maybe we could heuristically detect store paths contained in builder args and environment variables? It might be tricky, if we want to support alternative store paths. I personally want to support /tmp/nix/store.
Oh and input srcs. I don't remember if there was some complication when I wrote the first draft of this, maybe I just forgot.
Have a look at the existing code to linkify known store paths:
The builder program we can perhaps treat as a store path (or at least as a file inside a store path?).
Maybe we could heuristically detect store paths contained in builder args and environment variables? It might be tricky, if we want to support alternative store paths. I personally want to support
/tmp/nix/store
.Oh and input srcs. I don't remember if there was some complication when I wrote the first draft of this, maybe I just forgot.
Have a look at the existing code to linkify known store paths: