Safe Haskell | None |
---|---|
Language | GHC2021 |
Hix.Bootstrap
Documentation
Instances
Generic CabalInfo Source # | |||||
Defined in Hix.Bootstrap Associated Types
| |||||
Show CabalInfo Source # | |||||
Eq CabalInfo Source # | |||||
type Rep CabalInfo Source # | |||||
Defined in Hix.Bootstrap type Rep CabalInfo = D1 ('MetaData "CabalInfo" "Hix.Bootstrap" "hix-0.8.0-HgAAo9T3AqQBueO4fzYR2Q" '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
Generic PreludeWithVersion Source # | |||||
Defined in Hix.Bootstrap Associated Types
Methods from :: PreludeWithVersion -> Rep PreludeWithVersion x # to :: Rep PreludeWithVersion x -> PreludeWithVersion # | |||||
Show PreludeWithVersion Source # | |||||
Defined in Hix.Bootstrap Methods showsPrec :: Int -> PreludeWithVersion -> ShowS # show :: PreludeWithVersion -> String # showList :: [PreludeWithVersion] -> ShowS # | |||||
Eq PreludeWithVersion Source # | |||||
Defined in Hix.Bootstrap Methods (==) :: PreludeWithVersion -> PreludeWithVersion -> Bool # (/=) :: PreludeWithVersion -> PreludeWithVersion -> Bool # | |||||
type Rep PreludeWithVersion Source # | |||||
Defined in Hix.Bootstrap type Rep PreludeWithVersion = D1 ('MetaData "PreludeWithVersion" "Hix.Bootstrap" "hix-0.8.0-HgAAo9T3AqQBueO4fzYR2Q" 'False) (C1 ('MetaCons "PreludeWithVersion" 'PrefixI 'True) (S1 ('MetaSel ('Just "prelude") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Prelude) :*: S1 ('MetaSel ('Just "dep") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Dependency)))) |
data HixComponent Source #
Constructors
HixComponent | |
Fields
|
Instances
Generic HixComponent Source # | |||||
Defined in Hix.Bootstrap Associated Types
| |||||
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.8.0-HgAAo9T3AqQBueO4fzYR2Q" '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
Generic HixPackage Source # | |||||
Defined in Hix.Bootstrap Associated Types
| |||||
Show HixPackage Source # | |||||
Defined in Hix.Bootstrap Methods showsPrec :: Int -> HixPackage -> ShowS # show :: HixPackage -> String # showList :: [HixPackage] -> ShowS # | |||||
Eq HixPackage Source # | |||||
Defined in Hix.Bootstrap | |||||
type Rep HixPackage Source # | |||||
Defined in Hix.Bootstrap type Rep HixPackage = D1 ('MetaData "HixPackage" "Hix.Bootstrap" "hix-0.8.0-HgAAo9T3AqQBueO4fzYR2Q" 'False) (C1 ('MetaCons "HixPackage" 'PrefixI 'True) ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PackageName) :*: (S1 ('MetaSel ('Just "src") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Path Rel Dir)) :*: S1 ('MetaSel ('Just "known") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ExprAttr]))) :*: (S1 ('MetaSel ('Just "meta") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ExprAttr]) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ExprAttr) :*: S1 ('MetaSel ('Just "components") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [HixComponent]))))) |
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 #