From 124e185628adc20e4cb9bb022181dfbd061aa340 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Mon, 9 Dec 2019 12:22:33 +0000 Subject: fix(read-tree): Always import with `locatedAt` attribute --- read-tree.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/read-tree.nix b/read-tree.nix index 8aa504efc21a..ba3fd99f8134 100644 --- a/read-tree.nix +++ b/read-tree.nix @@ -65,7 +65,7 @@ let let nixFiles = filterNixFiles dir; imported = map (f: { inherit (f) name; - value = import (joinPath path f.value) args; + value = import (joinPath path f.value) (argsWithPath args (pathParts path)); }) nixFiles; dirs = map (d: { inherit (d) name; -- cgit 1.4.1