From 32f31a8c63d35a8ecfd341802465afacbe8d5759 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 22 Jan 2020 17:20:21 +0100 Subject: nix flake info: Don't show empty descriptions --- src/libexpr/flake/flake.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libexpr') 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 description; std::shared_ptr sourceInfo; std::map inputs; Value * vOutputs; // FIXME: gc -- cgit v1.2.3