diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-02-07 14:22:01 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-02-07 14:22:01 +0100 |
commit | d2032edb2f86e955a8a7724a27c0c3225f386500 (patch) | |
tree | 33f4b8874c2e1816947e2086937b9175ec0b0e64 /src/nix/eval.cc | |
parent | 0b013a54dc570395bed887369f8dd622b8ce337b (diff) |
nix edit: Support non-derivation attributes
E.g.
$ nix edit .#nixosConfigurations.bla
now works.
Diffstat (limited to 'src/nix/eval.cc')
-rw-r--r-- | src/nix/eval.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/eval.cc b/src/nix/eval.cc index a991ee608..f23625161 100644 --- a/src/nix/eval.cc +++ b/src/nix/eval.cc @@ -52,7 +52,7 @@ struct CmdEval : MixJSON, InstallableCommand auto state = getEvalState(); - auto v = installable->toValue(*state); + auto v = installable->toValue(*state).first; PathSet context; stopProgressBar(); |