22 lines
406 B
Markdown
22 lines
406 B
Markdown
|
|
# 15-follows-and-inputs
|
||
|
|
|
||
|
|
This example shows multiple flake inputs and one `follows` relationship.
|
||
|
|
|
||
|
|
It includes:
|
||
|
|
|
||
|
|
- a top-level `systems` input,
|
||
|
|
- `flake-utils` configured to reuse that input with `follows`,
|
||
|
|
- a small package and app output, and
|
||
|
|
- a check run by `nix flake check`.
|
||
|
|
|
||
|
|
Useful commands:
|
||
|
|
|
||
|
|
```bash
|
||
|
|
nix flake metadata
|
||
|
|
nix flake show
|
||
|
|
nix build
|
||
|
|
./result/bin/show-follows
|
||
|
|
nix run
|
||
|
|
nix flake check
|
||
|
|
```
|