diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-01-22 17:20:21 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-01-22 17:20:21 +0100 |
commit | 32f31a8c63d35a8ecfd341802465afacbe8d5759 (patch) | |
tree | ea37e304ef4d4cde34934084a2f4360f5713275a /src/libexpr/flake | |
parent | 543288b6494f14fe09f72afe37290ee7e97e69a1 (diff) |
nix flake info: Don't show empty descriptions
Diffstat (limited to 'src/libexpr/flake')
-rw-r--r-- | src/libexpr/flake/flake.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/flake/flake.hh b/src/libexpr/flake/flake.hh index d44113506..afd49436b 100644 --- a/src/libexpr/flake/flake.hh +++ b/src/libexpr/flake/flake.hh @@ -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 |