nix nar ls
show information about a path inside a NAR file
- Provided by: nix-bin (Version: 2.6.0+dfsg-3)
- Source: nix
- Report a bug
show information about a path inside a NAR file
Warning: This program is experimental and its interface is subject to change.
nix nar ls [option…] nar path
# nix nar ls -l ./hello.nar /bin/hello -r-xr-xr-x 38184 hello
# nix nar ls --json -R ./hello.nar /bin
{"type":"directory","entries":{"hello":{"type":"regular","size":38184,"executable":true,"narOffset":400}}}
This command shows information about a path inside NAR file nar.