hix-0.7.0: Haskell/Nix development build tools
Safe HaskellSafe-Inferred
LanguageGHC2021

Hix.NixExpr

Documentation

indent :: Functor t => Int -> t Text -> t Text Source #

singleOpt :: EncodeNix a => Text -> (e -> Maybe a) -> e -> ExprAttr Source #

single :: EncodeNix a => Text -> (e -> a) -> e -> ExprAttr Source #

multiOpt :: EncodeNix a => Text -> (e -> Maybe [a]) -> e -> ExprAttr Source #

multi :: EncodeNix a => Text -> (e -> [a]) -> e -> ExprAttr Source #

multiOrSingle :: forall a e. EncodeNix a => Text -> (e -> [a]) -> e -> ExprAttr Source #

mkAttrs :: [e -> ExprAttr] -> e -> [ExprAttr] Source #