-- TODO: Optimise by switching to sets of packages.
isGhcPackage :: Package -> Bool
isGhcPackage = (`elem` ghcPackages)
isGhcPackage :: Package -> Bool
isGhcPackage = (`elem` ghcPackages)
isGhcPackage = (`elem` ghcPackages)