Skip to content

Commit

Permalink
Clarification in the description of the FlakeInput.
Browse files Browse the repository at this point in the history
  • Loading branch information
kquick committed Sep 28, 2020
1 parent 5ae164b commit 128c98a
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions src/libexpr/flake/flake.hh
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,16 @@ struct FlakeInput;

typedef std::map<FlakeId, FlakeInput> FlakeInputs;

// FlakeInput is the flake-level parsed form of the "input" entries in
// FlakeInput is the 'Flake'-level parsed form of the "input" entries in
// the flake file.
//
// A FlakeInput is normally constructed by initially
// first constructing a FlakeRef (a fetcher, the fetcher-specific
// representation of the input specification, and the fetched local
// store path result) and then creating this FlakeInput to hold that
// FlakeRef, along with anything that might override that FlakeRef
// (like command-line overrides or "follows" specifications).
// A FlakeInput is normally constructed by the 'parseFlakeInput'
// function which parses the input specification in the '.flake' file
// to create a 'FlakeRef' (a fetcher, the fetcher-specific
// representation of the input specification, and possibly the fetched
// local store path result) and then creating this FlakeInput to hold
// that FlakeRef, along with anything that might override that
// FlakeRef (like command-line overrides or "follows" specifications).
//
// A FlakeInput is also sometimes constructed directly from a FlakeRef
// instead of starting at the flake-file input specification
Expand Down

0 comments on commit 128c98a

Please sign in to comment.