Reference a nix closure directly in Nix

I want to back up some Nix packages so that I can use the same package (with all the same dependencies) in the future (even without the source code available because I have the built binary Nix closure already).

My current idea is to copy the nix closure to a local binary cache and then create a new derivation to use those binary files directly.

But so far I haven’t found a proper way to reference the closure in Nix so that it can download the path directly from the cache. Is there a way to do so?