@@ -114,8 +114,8 @@ solve sc toolchains idx pkgConfigDB userPrefs userConstraints userGoals =
114114 validationCata .
115115 traceTree " pruned.json" id .
116116 trav prunePhase .
117+ stageBuildDeps " build: " .
117118 (if buildIsHost toolchains then id else trav P. pruneHostFromSetup) .
118- -- stageBuildDeps "build: " .
119119 traceTree " build.json" id $
120120 buildPhase
121121 where
@@ -158,11 +158,15 @@ solve sc toolchains idx pkgConfigDB userPrefs userConstraints userGoals =
158158 -- may not be able to produce code that runs on the build machine.
159159 go (PChoice qpn rdm gr cs) | (Q (PackagePath _ (QualSetup _)) _) <- qpn =
160160 (PChoice qpn rdm gr (trace (prefix ++ show qpn ++ ' \n ' : unlines (map (" - " ++ ) candidates)) (go <$> cs)))
161- where candidates = map show . filter (\ (I _s _v l) -> l /= InRepo ) . map (\ (_w, (POption i _), _v) -> i) $ W. toList cs
161+ where candidates = map show
162+ -- . filter (\(I _s _v l) -> l /= InRepo)
163+ . map (\ (_w, (POption i _), _v) -> i) $ W. toList cs
162164 -- Same for build-depends. These show up as QualExe (component) (build-depends).
163165 go (PChoice qpn rdm gr cs) | (Q (PackagePath _ (QualExe _ _)) _) <- qpn =
164166 (PChoice qpn rdm gr (trace (prefix ++ show qpn ++ ' \n ' : unlines (map (" - " ++ ) candidates)) (go <$> cs)))
165- where candidates = map show . filter (\ (I _s _v l) -> l /= InRepo ) . map (\ (_w, (POption i _), _v) -> i) $ W. toList cs
167+ where candidates = map show
168+ -- . filter (\(I _s _v l) -> l /= InRepo)
169+ . map (\ (_w, (POption i _), _v) -> i) $ W. toList cs
166170 go (PChoice qpn rdm gr cs) =
167171 (PChoice qpn rdm gr (go <$> cs))
168172 go (FChoice qfn rdm gr t b d cs) =
0 commit comments