Implemented json flag for nix flake info
This commit is contained in:
@@ -141,7 +141,7 @@ static FlakeSourceInfo fetchFlake(EvalState & state, const FlakeRef & flakeRef)
|
||||
else abort();
|
||||
}
|
||||
|
||||
static Flake getFlake(EvalState & state, const FlakeRef & flakeRef)
|
||||
Flake getFlake(EvalState & state, const FlakeRef & flakeRef)
|
||||
{
|
||||
auto sourceInfo = fetchFlake(state, flakeRef);
|
||||
debug("got flake source '%s' with revision %s",
|
||||
|
||||
@@ -34,5 +34,5 @@ struct Flake
|
||||
// content hash
|
||||
};
|
||||
|
||||
static Flake getFlake(EvalState & state, const FlakeRef & flakeRef);
|
||||
Flake getFlake(EvalState & state, const FlakeRef & flakeRef);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user