snippetbashTip
nix flake info — Show flake metadata. More information: <https://nix.dev/manual/nix/stable/command-ref/new-cli/nix3-f
Viewed 0 times
commandnix flake infometadatashowcliinformationflakemore
Problem
How to use the
nix flake info command: Show flake metadata. More information: <https://nix.dev/manual/nix/stable/command-ref/new-cli/nix3-flake-info>.Solution
nix flake info — Show flake metadata. More information: <https://nix.dev/manual/nix/stable/command-ref/new-cli/nix3-flake-info>.Show flake metadata of the flake in the current directory:
nix flake infoShow flake metadata from GitHub as a json on a single line:
nix flake info {{github:owner/repo}} --json --no-prettyShow flake metadata from Github as a multi-line indented json:
nix flake info {{github:owner/repo}} --json --prettyCode Snippets
Show flake metadata of the flake in the current directory
nix flake infoShow flake metadata from GitHub as a json on a single line
nix flake info {{github:owner/repo}} --json --no-prettyShow flake metadata from Github as a multi-line indented json
nix flake info {{github:owner/repo}} --json --prettyContext
tldr-pages: common/nix flake info
Revisions (0)
No revisions yet.