mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 16:26:18 +02:00
nix flake deps: Remove --json flag for now
It doesn't produce valid JSON at the moment (but a concatenation of JSON objects). Anyway we probably should merge this command info 'nix flake info'.
This commit is contained in:
parent
fdf06ce72f
commit
e7e7a03baf
1 changed files with 3 additions and 3 deletions
|
@ -125,7 +125,7 @@ static void printNonFlakeInfo(const NonFlake & nonFlake, bool json)
|
|||
}
|
||||
|
||||
// FIXME: merge info CmdFlakeInfo?
|
||||
struct CmdFlakeDeps : FlakeCommand, MixJSON
|
||||
struct CmdFlakeDeps : FlakeCommand
|
||||
{
|
||||
std::string name() override
|
||||
{
|
||||
|
@ -152,10 +152,10 @@ struct CmdFlakeDeps : FlakeCommand, MixJSON
|
|||
todo.pop();
|
||||
|
||||
for (auto & nonFlake : resFlake.nonFlakeDeps)
|
||||
printNonFlakeInfo(nonFlake, json);
|
||||
printNonFlakeInfo(nonFlake, false);
|
||||
|
||||
for (auto & info : resFlake.flakeDeps) {
|
||||
printFlakeInfo(info.second.flake, json);
|
||||
printFlakeInfo(info.second.flake, false);
|
||||
todo.push(info.second);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue