aboutsummaryrefslogtreecommitdiff
path: root/src/nix
diff options
context:
space:
mode:
authorBen Burdette <bburdette@gmail.com>2021-08-06 11:09:27 -0600
committerBen Burdette <bburdette@gmail.com>2021-08-06 11:09:27 -0600
commit89264d20e63effa8d10f84a5f989d962f5df36f5 (patch)
tree9d7397ea45640284da7800978843b916cc79063b /src/nix
parentedb5a280243974c2094ed62cec104b55b97add43 (diff)
move valmap to hh; add to env
Diffstat (limited to 'src/nix')
-rw-r--r--src/nix/flake.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nix/flake.cc b/src/nix/flake.cc
index 62a413e27..6af052008 100644
--- a/src/nix/flake.cc
+++ b/src/nix/flake.cc
@@ -408,6 +408,7 @@ struct CmdFlakeCheck : FlakeCommand
if (auto attr = v.attrs->get(state->symbols.create("description")))
state->forceStringNoCtx(*attr->value, *attr->pos);
+ // state->forceStringNoCtx(std::optional(v.attrs), *attr->value, *attr->pos);
else
throw Error("template '%s' lacks attribute 'description'", attrPath);