| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
Hix.Bootstrap
Documentation
Instances
| Generic ExprAttr Source # | |
| Show ExprAttr Source # | |
| Eq ExprAttr Source # | |
| type Rep ExprAttr Source # | |
Defined in Hix.Bootstrap type Rep ExprAttr = D1 ('MetaData "ExprAttr" "Hix.Bootstrap" "hix-0.4.2-72Zy03fjb49A5gBp9RPuGO" 'False) (C1 ('MetaCons "ExprAttr" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr)) :+: C1 ('MetaCons "ExprAttrNil" 'PrefixI 'False) (U1 :: Type -> Type)) | |
Instances
exprStrings :: [Text] -> Expr Source #
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.4.2-72Zy03fjb49A5gBp9RPuGO" 'False) (C1 ('MetaCons "CabalInfo" 'PrefixI 'True) (S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Path Rel Dir)) :*: S1 ('MetaSel ('Just "info") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (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.4.2-72Zy03fjb49A5gBp9RPuGO" 'False) (C1 ('MetaCons "HixComponent" 'PrefixI 'True) (S1 ('MetaSel ('Just "special") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ComponentType) :*: (S1 ('MetaSel ('Just "known") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ExprAttr]) :*: S1 ('MetaSel ('Just "prelude") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe PreludeWithVersion))))) | |
data HixPackage Source #
Constructors
| HixPackage | |
Fields
| |
Instances
renderRootExpr :: Expr -> Text Source #
class RenderCabalOption a where Source #
Methods
renderCabalOption :: a -> Text Source #
Instances
| RenderCabalOption ShortText Source # | |
Defined in Hix.Bootstrap Methods renderCabalOption :: ShortText -> Text Source # | |
| RenderCabalOption String Source # | |
Defined in Hix.Bootstrap Methods renderCabalOption :: String -> Text Source # | |
| Pretty a => RenderCabalOption a Source # | |
Defined in Hix.Bootstrap Methods renderCabalOption :: a -> Text Source # | |
multiOrSingle :: forall a e. RenderCabalOption a => Text -> (e -> [a]) -> e -> ExprAttr Source #
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 #
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 #