You did not specify --add-root

I’m going through the Nix Pills in the hope of better understanding nixOS. However, none of the pills I’ve read mention --add-root. All I know right now is that it’s an option passed nix-store. Would someone please direct me to the relevant document?

https://nixos.org/manual/nix/stable/#common-options-1

Hopefully that should explain it reasonably well.

Thanks, though it’s not very user-friendly to have newcomers search this many documents.