Safe Haskell | None |
---|---|
Language | Haskell2010 |
Nix generation helpers. No guarantee of stability (internal!).
Documentation
stringKey :: Text -> NExpr -> Binding NExpr Source #
Make a binding, but have the key be a string, not symbol.
dynamicKey :: Text -> NKeyName NExpr Source #
Make a dynamic key name that is only enclosed in double quotes (no antiquotes).
simpleParamSet :: [Text] -> Params NExpr Source #
shortcut to create a list of closed params, like { foo, bar, baz }:
multiParam :: [Text] -> NExpr -> NExpr Source #
shortcut to create a list of multiple params, like a: b: c:
(!!.) :: NExpr -> Text -> NExpr infixl 8 Source #
Like !.
, but automatically convert plain strings to static keys.
String quotation, either a plain string (S) or antiquoted (A)