mirror of
https://codeberg.org/mhwombat/nix-book.git
synced 2025-12-26 16:24:56 +08:00
expanded
This commit is contained in:
parent
2fcd559e4c
commit
25941b723c
2 changed files with 8 additions and 0 deletions
|
|
@ -17,6 +17,7 @@ probably won't need `nixConfig` unless you're doing something fancy. I'm
|
|||
going to focus on what goes into the `inputs` and `outputs` sections,
|
||||
and highlight some of the things I found confusing when I began using flakes.
|
||||
|
||||
[#flake-inputs]
|
||||
== Inputs
|
||||
|
||||
This section specifies the dependencies of a flake. It's an _attribute
|
||||
|
|
@ -108,6 +109,7 @@ Each of the `inputs` is fetched, evaluated and passed to the `outputs`
|
|||
function as a set of attributes with the same name as the corresponding
|
||||
input.
|
||||
|
||||
[#flake-outputs]
|
||||
== Outputs
|
||||
|
||||
This section is a function that essentially returns the recipe for
|
||||
|
|
|
|||
|
|
@ -26,10 +26,16 @@ include::functions.adoc[leveloffset=+1]
|
|||
|
||||
include::argument-sets.adoc[leveloffset=+1]
|
||||
|
||||
include::derivations.adoc[leveloffset=+1]
|
||||
|
||||
include::if.adoc[leveloffset=+1]
|
||||
|
||||
include::let.adoc[leveloffset=+1]
|
||||
|
||||
include::with.adoc[leveloffset=+1]
|
||||
|
||||
include::inherit.adoc[leveloffset=+1]
|
||||
|
||||
include::import.adoc[leveloffset=+1]
|
||||
|
||||
// TODO discuss laziness
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue