mirror of
https://github.com/NixOS/nix
synced 2025-07-02 13:31:48 +02:00
nix edit: Support non-derivation attributes
E.g. $ nix edit .#nixosConfigurations.bla now works.
This commit is contained in:
parent
0b013a54dc
commit
d2032edb2f
6 changed files with 24 additions and 18 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