Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Hix.Bootstrap
Documentation
Instances
Generic CabalInfo Source # | |
Show CabalInfo Source # | |
Eq CabalInfo Source # | |
type Rep CabalInfo Source # | |
Defined in Hix.Bootstrap type Rep CabalInfo = D1 ('MetaData "CabalInfo" "Hix.Bootstrap" "hix-0.7.1-GF38grEMhDKjpxBMjWXGC" 'False) (C1 ('MetaCons "CabalInfo" 'PrefixI 'True) (S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Path Rel Dir)) :*: S1 ('MetaSel ('Just "info") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 GenericPackageDescription))) |
data ComponentType Source #
Instances
data PreludeWithVersion Source #
Constructors
PreludeWithVersion | |
Fields
|
Instances
data HixComponent Source #
Constructors
HixComponent | |
Fields
|
Instances
Generic HixComponent Source # | |
Defined in Hix.Bootstrap Associated Types type Rep HixComponent :: Type -> Type # | |
Show HixComponent Source # | |
Defined in Hix.Bootstrap Methods showsPrec :: Int -> HixComponent -> ShowS # show :: HixComponent -> String # showList :: [HixComponent] -> ShowS # | |
Eq HixComponent Source # | |
Defined in Hix.Bootstrap | |
type Rep HixComponent Source # | |
Defined in Hix.Bootstrap type Rep HixComponent = D1 ('MetaData "HixComponent" "Hix.Bootstrap" "hix-0.7.1-GF38grEMhDKjpxBMjWXGC" 'False) (C1 ('MetaCons "HixComponent" 'PrefixI 'True) (S1 ('MetaSel ('Just "special") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ComponentType) :*: (S1 ('MetaSel ('Just "known") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ExprAttr]) :*: S1 ('MetaSel ('Just "prelude") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PreludeWithVersion))))) |
data HixPackage Source #
Constructors
HixPackage | |
Fields
|
Instances
metaPackageKeys :: PackageDescription -> [ExprAttr] Source #
ghcFlavour :: PerCompilerFlavor a -> a Source #
notDefaultGhcOption :: String -> Bool Source #
knownComponentKeys :: Maybe Prelude -> BuildInfo -> (Maybe PreludeWithVersion, [ExprAttr]) Source #
notBase :: Dependency -> Bool Source #
convertComponent :: ComponentType -> BuildInfo -> [ExprAttr] -> HixComponent Source #
convertLibrary :: Library -> HixComponent Source #
convert :: CabalInfo -> HixPackage Source #
flakePackage :: HixPackage -> ExprAttr Source #
mainPackage :: [HixPackage] -> ExprAttr Source #
flake :: BootstrapProjectConfig -> [HixPackage] -> Expr Source #
bootstrapProject :: BootstrapProjectConfig -> M () Source #