@@ -0,0 +1,39 @@
1+Idris packages
2+==============
3+
4+This directory contains build rules for idris packages. In addition,
5+it contains several functions to build and compose those packages.
6+Everything is exposed to the user via the `idrisPackages` attribute.
7+
8+callPackage
9+------------
10+
11+This is like the normal nixpkgs callPackage function, specialized to
12+idris packages.
13+
14+builtins
15+---------
16+
17+This is a list of all of the libraries that come packaged with Idris
18+itself.
19+
20+build-idris-package
21+--------------------
22+
23+A function to build an idris package. Its sole argument is a set like
24+you might pass to `stdenv.mkDerivation`, except `build-idris-package`
25+sets several attributes for you. See `build-idris-package.nix` for
26+details.
27+
28+build-builtin-package
29+----------------------
30+
31+A version of `build-idris-package` specialized to builtin libraries.
32+Mostly for internal use.
33+
34+with-packages
35+-------------
36+
37+Bundle idris together with a list of packages. Because idris currently
38+only supports a single directory in its library path, you must include
39+all desired libraries here, including `prelude` and `base`.