diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2018-11-26 19:57:20 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-02-11 11:55:35 +0100 |
commit | f216c76c56cdffb5214d074a7d44812843dd174f (patch) | |
tree | 976902e380765561e2c241e2e523c3463af14590 /src/nix/installables.cc | |
parent | c02da997570ac0d9b595d787bea8cb5a4e3cc1f5 (diff) |
Bindings::get(): Add convenience method
This allows writing attribute lookups as
if (auto name = value.attrs->get(state.sName))
...
Diffstat (limited to 'src/nix/installables.cc')
0 files changed, 0 insertions, 0 deletions