Er, yeah, that's why NixOS, like many distros, keeps public archives of packages and their source (see the discussion at https://news.ycombinator.com/item?id=36261492 )
Edit: found it: https://codeberg.org/amjoseph/sixos
Too new to rely on, sadly. Maybe in a few years.
Er, yeah, that's why NixOS, like many distros, keeps public archives of packages and their source (see the discussion at https://news.ycombinator.com/item?id=36261492 )