diff options
Diffstat (limited to 'Biz/Bild.nix')
-rw-r--r-- | Biz/Bild.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Biz/Bild.nix b/Biz/Bild.nix index ab120db..b6946c9 100644 --- a/Biz/Bild.nix +++ b/Biz/Bild.nix @@ -98,7 +98,10 @@ rec { # gather data needed for compiling by analyzing the main module analyze = main: - # builtins.head + let + path = lib.strings.removePrefix (builtins.getEnv "BIZ_ROOT" + "/") (toString main); + in + lib.attrsets.getAttrFromPath [path] (lib.trivial.importJSON (runBildAnalyze main + "/analysis.json")); |