19 lines
434 B
Markdown
19 lines
434 B
Markdown
|
|
# 41-non-flake-inputs
|
||
|
|
|
||
|
|
This example shows a `flake = false` input that exposes raw files instead of flake outputs.
|
||
|
|
|
||
|
|
It includes:
|
||
|
|
|
||
|
|
- one local input in `release-data/` without its own `flake.nix`,
|
||
|
|
- one package that reads JSON from that input during evaluation, and
|
||
|
|
- a check that proves the raw source and derived values match.
|
||
|
|
|
||
|
|
Useful commands:
|
||
|
|
|
||
|
|
```bash
|
||
|
|
nix flake metadata
|
||
|
|
nix build
|
||
|
|
./result/bin/show-raw-release
|
||
|
|
nix flake check
|
||
|
|
```
|