More refactoring of package handling
- 'GhcPkg' now parses 'ghc-pkg -v list' output directly to also get the package-id - Remove unused field 'cradlePackages' in Cradle - Remove 'getPackageDbPackages' and use 'ghcPkgListEx' instead
This commit is contained in:
@@ -244,8 +244,7 @@ addDevPkgs df pkgs = df''
|
||||
df'' = df' {
|
||||
packageFlags = map expose pkgs ++ packageFlags df
|
||||
}
|
||||
expose (pkg, Nothing) = ExposePackage pkg
|
||||
expose (_, Just pid) = ExposePackageId pid
|
||||
expose pkg = ExposePackageId $ showPkgId pkg
|
||||
|
||||
----------------------------------------------------------------
|
||||
----------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user