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:
parent
0b013a54dc
commit
d2032edb2f
6 changed files with 24 additions and 18 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue