Nix store, state and log dir

Nix can be compiled with custom set store, state and log directory. I was wondering if there is a function on how to check the values with which they were compiled. The command nix show-info for example does not specify any of these paths. What would people suggest on how to best approach this?