docs(flake/inputs): fix generation
`{lib,...}` as first line was breaking generator logic
This commit is contained in:
parent
9135a2fd12
commit
75b42c0177
1 changed files with 1 additions and 1 deletions
|
|
@ -1,4 +1,3 @@
|
||||||
{ lib, ... }:
|
|
||||||
# Flake inputs
|
# Flake inputs
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -15,6 +14,7 @@
|
||||||
> Then accessing inputs in repl, remove {class}, so instead of calling e.g. `flake.inputs.core.nixpkgs`,
|
> Then accessing inputs in repl, remove {class}, so instead of calling e.g. `flake.inputs.core.nixpkgs`,
|
||||||
> you call `flake.inputs.nixpkgs`.
|
> you call `flake.inputs.nixpkgs`.
|
||||||
*/
|
*/
|
||||||
|
{ lib, ... }:
|
||||||
lib.foldl' (acc: value: lib.recursiveUpdate acc value) { } (
|
lib.foldl' (acc: value: lib.recursiveUpdate acc value) { } (
|
||||||
map (file: import ./${file}) (
|
map (file: import ./${file}) (
|
||||||
builtins.filter (name: name != "default.nix") (builtins.attrNames (builtins.readDir ./.))
|
builtins.filter (name: name != "default.nix") (builtins.attrNames (builtins.readDir ./.))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue