Print all available attributes of a Nix expression

How to print all available attributes of a Nix expression?