mirror of
https://github.com/NixOS/nix
synced 2025-06-27 08:31:16 +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
|
@ -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