nix store info
test whether a store can be accessed
- Provided by: nix-bin (Version: 2.34.3+dfsg-1)
- Source: nix
- Report a bug
test whether a store can be accessed
Warning
This program is
experimental
and its interface is subject to change.
nix store info [option…]
# nix store info --store ssh://mac1
# nix store info --store https://cache.nixos.org
# nix store info --store daemon
This command tests whether a particular Nix store (specified by the argument --store url) can be accessed. What this means is dependent on the type of the store. For instance, for an SSH store it means that Nix can connect to the specified machine.
If the command succeeds, Nix returns a exit code of 0 and does not print any output.
See `--pretty`.
Default: indent if output is to a terminal.
This option is only effective when `--json` is also specified.
Note
See man nix.conf for overriding configuration settings with command line flags.