Linux command
nix-flake-info 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Show flake info
nix flake info
Show remote flake info
nix flake info [github:NixOS/nixpkgs]
Show info as JSON
nix flake info --json
说明
nix flake info shows flake metadata. Displays inputs and description. The command shows flake URL. Lists locked inputs and revisions.
参数
- --json
- Output as JSON.
- --help
- Display help information.
FAQ
What is the nix-flake-info command used for?
nix flake info shows flake metadata. Displays inputs and description. The command shows flake URL. Lists locked inputs and revisions.
How do I run a basic nix-flake-info example?
Run `nix flake info` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --json do in nix-flake-info?
Output as JSON.