@@ -114,8 +114,8 @@ solve sc toolchains idx pkgConfigDB userPrefs userConstraints userGoals =
114
114
validationCata .
115
115
traceTree " pruned.json" id .
116
116
trav prunePhase .
117
+ stageBuildDeps " build: " .
117
118
(if buildIsHost toolchains then id else trav P. pruneHostFromSetup) .
118
- -- stageBuildDeps "build: " .
119
119
traceTree " build.json" id $
120
120
buildPhase
121
121
where
@@ -158,11 +158,15 @@ solve sc toolchains idx pkgConfigDB userPrefs userConstraints userGoals =
158
158
-- may not be able to produce code that runs on the build machine.
159
159
go (PChoice qpn rdm gr cs) | (Q (PackagePath _ (QualSetup _)) _) <- qpn =
160
160
(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
162
164
-- Same for build-depends. These show up as QualExe (component) (build-depends).
163
165
go (PChoice qpn rdm gr cs) | (Q (PackagePath _ (QualExe _ _)) _) <- qpn =
164
166
(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
166
170
go (PChoice qpn rdm gr cs) =
167
171
(PChoice qpn rdm gr (go <$> cs))
168
172
go (FChoice qfn rdm gr t b d cs) =
0 commit comments