hnix-0.16.0: Haskell implementation of the Nix language
Safe HaskellNone
LanguageHaskell2010

Nix.Builtins

Description

Code that implements Nix builtins. Lists the functions that are built into the Nix expression evaluator. Some built-ins (aka derivation), are always in the scope, so they can be accessed by the name. To keap the namespace clean, most built-ins are inside the builtins scope - a set that contains all what is a built-in.

Synopsis

Documentation

withNixContext :: forall e t f m r. (MonadNix e t f m, Has e Options) => Maybe Path -> m r -> m r Source #

Evaluate expression in the default context.

builtins :: forall e t f m. (MonadNix e t f m, Scoped (NValue t f m) m) => m (Scopes m (NValue t f m)) Source #