nixpkgs/pkgs/development/idris-modules
Shea Levy 69d4adee1f
idris: Move library setup to the setup hook.
This was broken in preHook because addEnvHooks isn't defined yet.
2018-01-20 19:58:06 -05:00
..
build-builtin-package.nix
build-idris-package.nix idris: Move library setup to the setup hook. 2018-01-20 19:58:06 -05:00
default.nix Add wrapper for idris exe for gcc/gmp runtime deps 2017-11-02 23:14:12 +00:00
httpclient.nix
idris-wrapper.nix idris: Move library setup to the setup hook. 2018-01-20 19:58:06 -05:00
lightyear.nix
README.md
setup-hook.sh idris: Move library setup to the setup hook. 2018-01-20 19:58:06 -05:00
specdris.nix specdris: init at 2017-11-11 (#31544) 2017-11-21 22:59:38 +00:00
TODO.md
with-packages.nix treewide: Don't use envHook anymore 2017-12-30 22:04:22 -05:00
wl-pprint.nix

Idris packages

This directory contains build rules for idris packages. In addition, it contains several functions to build and compose those packages. Everything is exposed to the user via the idrisPackages attribute.

callPackage

This is like the normal nixpkgs callPackage function, specialized to idris packages.

builtins

This is a list of all of the libraries that come packaged with Idris itself.

build-idris-package

A function to build an idris package. Its sole argument is a set like you might pass to stdenv.mkDerivation, except build-idris-package sets several attributes for you. See build-idris-package.nix for details.

build-builtin-package

A version of build-idris-package specialized to builtin libraries. Mostly for internal use.

with-packages

Bundle idris together with a list of packages. Because idris currently only supports a single directory in its library path, you must include all desired libraries here, including prelude and base.