Files
nixpkgs/doc/languages-frameworks/scheme.section.md
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

1.1 KiB

Scheme

Package Management

Akku

About two hundred R6RS & R7RS libraries from Akku (which also mirrors snow-fort) are available inside the akkuPackages attrset, and the Akku executable itself is at the top level as akku. The packages could be used in a derivation's buildInputs, work inside of nix-shell, and are tested using Chez & Chibi Scheme at build time.

Including a package as a build input is done in the typical Nix fashion. For example, to include a bunch of SRFIs primarily for Chez Scheme in a derivation, one might write:

{
  buildInputs = [
    chez
    akkuPackages.chez-srfi
  ];
}

The package index is located in pkgs/tools/package-management/akku as deps.toml, and should be updated occasionally by running ./update.sh in the directory. Doing so will pull the source URLs for new packages and more recent versions, then write them to the TOML.