20 lines
466 B
Markdown
20 lines
466 B
Markdown
# 40-path-inputs
|
|
|
|
This example shows a local `path:` input that points at another flake inside the example directory.
|
|
|
|
It includes:
|
|
|
|
- one nested flake in `catalog/`,
|
|
- pure release metadata exposed from that nested flake through `lib`,
|
|
- one package that renders the imported data, and
|
|
- a check that proves the parent flake is reading the child flake output.
|
|
|
|
Useful commands:
|
|
|
|
```bash
|
|
nix flake metadata
|
|
nix build
|
|
./result/bin/show-local-plan
|
|
nix flake check
|
|
```
|