mirror of
https://github.com/NixOS/nix
synced 2025-06-27 16:51:15 +02:00
nix edit: Support non-derivation attributes
E.g.
$ nix edit .#nixosConfigurations.bla
now works.
(cherry picked from commit d2032edb2f
)
This commit is contained in:
parent
c1ca4f0acc
commit
231a8aa2c2
6 changed files with 18 additions and 16 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue