mirror of
https://github.com/hercules-ci/flake-parts.git
synced 2024-12-14 11:47:31 +00:00
Fix highlighting in README.md
This commit is contained in:
parent
bf53492df0
commit
3a3c386b1d
1 changed files with 2 additions and 2 deletions
|
@ -49,13 +49,13 @@ nix flake init -t github:hercules-ci/flake-parts
|
||||||
|
|
||||||
Otherwise, add the input,
|
Otherwise, add the input,
|
||||||
|
|
||||||
```
|
```nix
|
||||||
flake-parts.url = "github:hercules-ci/flake-parts";
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
||||||
```
|
```
|
||||||
|
|
||||||
then slide `mkFlake` between your outputs function head and body,
|
then slide `mkFlake` between your outputs function head and body,
|
||||||
|
|
||||||
```
|
```nix
|
||||||
outputs = inputs@{ flake-parts, ... }:
|
outputs = inputs@{ flake-parts, ... }:
|
||||||
flake-parts.lib.mkFlake { inherit inputs; } {
|
flake-parts.lib.mkFlake { inherit inputs; } {
|
||||||
flake = {
|
flake = {
|
||||||
|
|
Loading…
Reference in a new issue