diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-12-23 13:19:53 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-12-23 18:26:40 +0100 |
commit | c9279b831e91a762851464826eaa8a8e30979578 (patch) | |
tree | 46c58403fcad3c2d5081457aa19e95b03becc6dd /src/nix/flake-list-inputs.md | |
parent | 16e34085e8f45758b97c41cfcd720552c68a3c98 (diff) |
Add 'nix flake' manpages
Diffstat (limited to 'src/nix/flake-list-inputs.md')
-rw-r--r-- | src/nix/flake-list-inputs.md | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/nix/flake-list-inputs.md b/src/nix/flake-list-inputs.md new file mode 100644 index 000000000..250e13be0 --- /dev/null +++ b/src/nix/flake-list-inputs.md @@ -0,0 +1,23 @@ +R""( + +# Examples + +* Show the inputs of the `hydra` flake: + + ```console + # nix flake list-inputs github:NixOS/hydra + github:NixOS/hydra/bde8d81876dfc02143e5070e42c78d8f0d83d6f7 + ├───nix: github:NixOS/nix/79aa7d95183cbe6c0d786965f0dbff414fd1aa67 + │ ├───lowdown-src: github:kristapsdz/lowdown/1705b4a26fbf065d9574dce47a94e8c7c79e052f + │ └───nixpkgs: github:NixOS/nixpkgs/ad0d20345219790533ebe06571f82ed6b034db31 + └───nixpkgs follows input 'nix/nixpkgs' + ``` + +# Description + +This command shows the inputs of the flake specified by the flake +referenced *flake-url*. Since it prints the locked inputs that result +from generating or updating the lock file, this command essentially +displays the contents of the flake's lock file in human-readable form. + +)"" |