diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-11-19T13·29+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-11-19T13·29+0100 |
commit | 30b986908eed5d8fd6a2b21da98878f2a0bf19c0 (patch) | |
tree | 90193b0624a66c87297b6be0aeb50851fe918b88 /src/nix-env/user-env.cc | |
parent | 0f24400d90daf65cf20142a662f8245008437e2c (diff) |
Check meta values and warn about bad ones
Diffstat (limited to 'src/nix-env/user-env.cc')
-rw-r--r-- | src/nix-env/user-env.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-env/user-env.cc b/src/nix-env/user-env.cc index 0ef28a12e73f..c2dab4f0c757 100644 --- a/src/nix-env/user-env.cc +++ b/src/nix-env/user-env.cc @@ -88,7 +88,7 @@ bool createUserEnv(EvalState & state, DrvInfos & elems, StringSet metaNames = i->queryMetaNames(); foreach (StringSet::iterator, j, metaNames) { Value * v = i->queryMeta(*j); - state.strictForceValue(*v); // FIXME + if (!v) continue; vMeta.attrs->push_back(Attr(state.symbols.create(*j), v)); } v.attrs->sort(); |