1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-28 17:51:15 +02:00

Implemented json flag for nix flake info

This commit is contained in:
Nick Van den Broeck 2019-02-27 19:54:18 +01:00
parent cfb6ab80ce
commit 9ff1a9ea65
5 changed files with 29 additions and 5 deletions

View file

@ -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",

View file

@ -34,5 +34,5 @@ struct Flake
// content hash
};
static Flake getFlake(EvalState & state, const FlakeRef & flakeRef);
Flake getFlake(EvalState & state, const FlakeRef & flakeRef);
}