Hi everyone, sorry for taking so long to read your replies, I thought my original mail got lost.
I just wanted to briefly thank each of you for the extensive and super helpful replies! `guix import` indeed looks like the solution for now, if that allows to pass a lockfile provided by the language. I saw this patch adding it for Rust recently - https://lists.gnu.org/archive/html/guix-patches/2025-03/msg01757.html - and that seems like "the way". Although I still think "just" having a function that automatically generates the package definition from the lockfile that you could then use in a project-specific channel would be great. But perhaps that's my inexperience with the tooling speaking :-) I'm still very unfamilar with the programming language but I'm hoping that one day I can contribute! Have a nice start to the week! Mark