1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-15 15:02:42 +01:00

nix edit: Support non-derivation attributes

E.g.

  $ nix edit .#nixosConfigurations.bla

now works.
This commit is contained in:
Eelco Dolstra 2020-02-07 14:22:01 +01:00
parent 0b013a54dc
commit d2032edb2f
6 changed files with 24 additions and 18 deletions

View file

@ -8,6 +8,7 @@
namespace nix {
MakeError(AttrPathNotFound, Error);
MakeError(NoPositionInfo, Error);
std::pair<Value *, Pos> findAlongAttrPath(EvalState & state, const string & attrPath,
Bindings & autoArgs, Value & vIn);