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