fix(read-tree): Always import with locatedAt attribute

This commit is contained in:
Vincent Ambo 2019-12-09 12:22:33 +00:00
parent 514c48fdde
commit 124e185628

View file

@ -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;