mirror of
https://github.com/NixOS/nix
synced 2025-06-27 00:11:17 +02:00
* Refactoring: get the selection path stuff out of getDerivations()
and put it into a separate function findAlongAttrPath().
This commit is contained in:
parent
2317d8f671
commit
ca2238cf81
9 changed files with 170 additions and 119 deletions
13
src/libexpr/attr-path.hh
Normal file
13
src/libexpr/attr-path.hh
Normal file
|
@ -0,0 +1,13 @@
|
|||
#ifndef __ATTR_PATH_H
|
||||
#define __ATTR_PATH_H
|
||||
|
||||
#include <string>
|
||||
#include <map>
|
||||
|
||||
#include "eval.hh"
|
||||
|
||||
|
||||
Expr findAlongAttrPath(EvalState & state, const string & attrPath, Expr e);
|
||||
|
||||
|
||||
#endif /* !__ATTR_PATH_H */
|
Loading…
Add table
Add a link
Reference in a new issue