From f86b192ec24dd3922d63f5ba05718ab5c4ef8e85 Mon Sep 17 00:00:00 2001 From: Sebastian Ullrich Date: Mon, 21 Apr 2025 16:57:00 +0200 Subject: [PATCH] chore: fix Nix build --- nix/buildLeanPackage.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/buildLeanPackage.nix b/nix/buildLeanPackage.nix index a8be3e6ac0..dc04bb7ffb 100644 --- a/nix/buildLeanPackage.nix +++ b/nix/buildLeanPackage.nix @@ -194,7 +194,7 @@ with builtins; let modCandidates = mapAttrs (mod: header: let deps = if header.errors == [] - then map (m: m.module) header.imports + then map (m: m.module) header.result.imports else abort "errors while parsing imports of ${mod}:\n${lib.concatStringsSep "\n" header.errors}"; in mkMod mod (map (dep: if modDepsMap ? ${dep} then modCandidates.${dep} else externalModMap.${dep}) deps)) modDepsMap; expandGlob = g: