We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 292bc20 commit 73e92bcCopy full SHA for 73e92bc
cabal-install/Distribution/Client/Status.hs
@@ -156,13 +156,7 @@ status verbosity globalFlags statusFlags = do
156
return $ ( Just sandboxPath
157
, Just $ sandboxPackageDBPath sandboxPath comp platform)
158
else return (Nothing, Nothing)
159
- let dbs :: [PackageDB] -- TODO: it might be better to inspect the currently
160
- -- configured dbs instead of a static global,local,..
161
- dbs = GlobalPackageDB
162
- : UserPackageDB
163
- : case sandboxDbPath of
164
- Nothing -> []
165
- Just p -> [SpecificPackageDB p]
+ let dbs = withPackageDB buildConfig
166
let noFlags = not $ any Cabal.fromFlag [ statusVersion statusFlags
167
, statusProgVersions statusFlags
168
, statusCompiler statusFlags
0 commit comments