···11+# Scheme {#sec-scheme}
22+33+## Package Management {#sec-scheme-package-management}
44+55+### Akku {#sec-scheme-package-management-akku}
66+77+About two hundred R6RS & R7RS libraries from [Akku](https://akkuscm.org/)
88+(which also mirrors [snow-fort](https://snow-fort.org/pkg))
99+are available inside the `akkuPackages` attrset, and the Akku executable
1010+itself is at the top level as `akku`. The packages could be used
1111+in a derivation's `buildInputs`, work inside of `nix-shell`, and
1212+are tested using [Chez](https://www.scheme.com/) &
1313+[Chibi](https://synthcode.com/wiki/chibi-scheme)
1414+Scheme during build time.
1515+1616+Including a package as a build input is done in the typical Nix fashion.
1717+For example, to include
1818+[a bunch of SRFIs](https://akkuscm.org/packages/chez-srfi/)
1919+primarily for Chez Scheme in a derivation, one might write:
2020+2121+```nix
2222+{
2323+ buildInputs = [
2424+ chez
2525+ akkuPackages.chez-srfi
2626+ ];
2727+}
2828+2929+```
3030+3131+The package index is located in `pkgs/tools/package-management/akku`
3232+as `deps.toml`, and should be updated occasionally by running `./update.sh`
3333+in the directory. Doing so will pull the source URLs for new packages and
3434+more recent versions, then write them to the TOML.
3535+