Comment Comment by ywei3410 The other comments have already covered the how, but I'd like to add that the mechanism used extensively in Nix [1].[1] https://nixos.org/ parent ywei3410 3 years ago
[1] https://nixos.org/