Safe Haskell | None |
---|---|
Language | Haskell2010 |
Pier.Build.Stackage
- buildPlanRules :: Rules ()
- askBuildPlan :: PlanName -> Action BuildPlan
- askInstalledGhc :: BuildPlan -> GhcDistro -> Action InstalledGhc
- installGhcRules :: Rules ()
- data InstalledGhc = InstalledGhc {}
- data GhcDistro
- ghcArtifacts :: InstalledGhc -> Set Artifact
- ghcProg :: InstalledGhc -> [String] -> Command
- ghcPkgProg :: InstalledGhc -> [String] -> Command
- hsc2hsProg :: InstalledGhc -> [String] -> Command
- parseGlobalPackagePath :: InstalledGhc -> FilePath -> Artifact
- newtype PlanName = PlanName {}
- data BuildPlan = BuildPlan {}
- data PlanPackage = PlanPackage {}
- type Flags = HashMap FlagName Bool
Documentation
buildPlanRules :: Rules () Source #
askInstalledGhc :: BuildPlan -> GhcDistro -> Action InstalledGhc Source #
installGhcRules :: Rules () Source #
data InstalledGhc Source #
TODO: make the below functions that use Version take InstalledGhc directly instead
Constructors
InstalledGhc | |
Fields |
Constructors
SystemGhc | |
StackageGhc |
ghcArtifacts :: InstalledGhc -> Set Artifact Source #
ghcPkgProg :: InstalledGhc -> [String] -> Command Source #
hsc2hsProg :: InstalledGhc -> [String] -> Command Source #
parseGlobalPackagePath :: InstalledGhc -> FilePath -> Artifact Source #
Convert ${pkgroot}
prefixes, for utilities like hsc2hs that don't
see packages directly
Constructors
PlanName | |
Fields |
Constructors
BuildPlan | |
data PlanPackage Source #
Constructors
PlanPackage | |
Fields |