1# Scheme {#sec-scheme}
2
3## Package Management {#sec-scheme-package-management}
4
5### Akku {#sec-scheme-package-management-akku}
6
7About two hundred R6RS & R7RS libraries from [Akku](https://akkuscm.org/)
8(which also mirrors [snow-fort](https://snow-fort.org/pkg))
9are available inside the `akkuPackages` attrset, and the Akku executable
10itself is at the top level as `akku`. The packages could be used
11in a derivation's `buildInputs`, work inside of `nix-shell`, and
12are tested using [Chez](https://www.scheme.com/) &
13[Chibi](https://synthcode.com/wiki/chibi-scheme)
14Scheme during build time.
15
16Including a package as a build input is done in the typical Nix fashion.
17For example, to include
18[a bunch of SRFIs](https://akkuscm.org/packages/chez-srfi/)
19primarily for Chez Scheme in a derivation, one might write:
20
21```nix
22{
23 buildInputs = [
24 chez
25 akkuPackages.chez-srfi
26 ];
27}
28
29```
30
31The package index is located in `pkgs/tools/package-management/akku`
32as `deps.toml`, and should be updated occasionally by running `./update.sh`
33in the directory. Doing so will pull the source URLs for new packages and
34more recent versions, then write them to the TOML.
35