File tree 1 file changed +2
-9
lines changed 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -132,20 +132,13 @@ constructPlan mbp0 baseConfigOpts0 locals extraToBuild0 locallyRegistered loadPa
132
132
133
133
econfig <- asks getEnvConfig
134
134
let onWanted lp = do
135
- {-
136
- - Arguably this is the right thing to do. However, forcing the
137
- - library to rebuild causes the cabal_macros.h file to change,
138
- - which makes GHC rebuild everything...
139
-
140
135
case lpExeComponents lp of
141
136
Nothing -> return ()
142
- Just _ -> void $ addDep $ packageName $ lpPackage lp
143
- -}
137
+ Just _ -> void $ addDep False $ packageName $ lpPackage lp
144
138
145
139
case lpTestBench lp of
146
140
Just tb -> addFinal lp tb
147
- -- See comment above
148
- Nothing -> void $ addDep False $ packageName $ lpPackage lp
141
+ Nothing -> return ()
149
142
let inner = do
150
143
mapM_ onWanted $ filter lpWanted locals
151
144
mapM_ (addDep False ) $ Set. toList extraToBuild0
You can’t perform that action at this time.
0 commit comments