1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-28 05:21:16 +02:00

nix flake info: Don't show empty descriptions

This commit is contained in:
Eelco Dolstra 2020-01-22 17:20:21 +01:00
parent 543288b649
commit 32f31a8c63
2 changed files with 5 additions and 3 deletions

View file

@ -33,7 +33,7 @@ struct Flake
{
FlakeRef originalRef;
FlakeRef resolvedRef;
std::string description;
std::optional<std::string> description;
std::shared_ptr<const fetchers::Tree> sourceInfo;
std::map<FlakeId, FlakeInput> inputs;
Value * vOutputs; // FIXME: gc