Hello all,
I work at a company where we have multiple clients, and where the latest version of a product is obtainable by a bookmark (like a git branch, a pointer to a particular rev) in mercurial. So we have flakes that start with
{
inputs = {
our-product = hg+https://our-repo.com/our-product?ref=client-a;
}
...
}
My question would be, is it possible to write a function which abstracts over a flake, so that the client bookmark - client-a
above - can be passed as an argument to said function, and it then returns a flake? I’m assuming not, since the nix package manager presumably wants a fully-formed flake as an entrypoint, but I thought I’d ask.