I want to create a private repository with a cache. Unless I lock every user of this repository to a certain NixOS / nixpkgs release (or even hashes), the cache will be all misses. So the solution is to enable content-addressable on each derivation provided in the repository.
But, is there a way to do that? Hinting that a derivation should be build with content-addressable approach?
In this case, I have control over the CA approach of the users. But managing to lock on certain Nixpkgs version is impossible as each use case have different set of package that maybe come from latest or even unstable Nixpkgs.