fix(read-tree): Always import with locatedAt
attribute
This commit is contained in:
parent
514c48fdde
commit
124e185628
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ let
|
||||||
let nixFiles = filterNixFiles dir;
|
let nixFiles = filterNixFiles dir;
|
||||||
imported = map (f: {
|
imported = map (f: {
|
||||||
inherit (f) name;
|
inherit (f) name;
|
||||||
value = import (joinPath path f.value) args;
|
value = import (joinPath path f.value) (argsWithPath args (pathParts path));
|
||||||
}) nixFiles;
|
}) nixFiles;
|
||||||
dirs = map (d: {
|
dirs = map (d: {
|
||||||
inherit (d) name;
|
inherit (d) name;
|
||||||
|
|
Loading…
Reference in a new issue