Add nix store import
and nix store export
commands to work with nar/narinfo
#9038
Milestone
nix store import
and nix store export
commands to work with nar/narinfo
#9038
This is part of the CLI stabilisation effort.
Description
The commands should convert between store objects and nar/narinfo .
Since we're not settled on a format, require passing a format flag. This allows to add more formats later and set a default once we're confident this something that can be supported in the long term.
Warning
The current export format does not support CA and is not extensible.
Example
TODO: Clarify CLI guideline in terms of reading from stdin
Context
nix nar
commands #8727nix nar
and subcommands #8875Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: