aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
blob: 109f7b24f662befced33b5f72093fcb0231c5033 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Guix Scheme Containers and Environments

Run Scheme implementations in Guix containers/environments, and package
libraries for them.

## Chibi Scheme

Chibi is meant to be embedded and doesn't have a modifiable global
library path of its own. Instead it uses a modified package definition
of `chibi-scheme` with the module path `share/guix-chibi` (interpreted)
and `lib/guix-chibi/` (shared objects). To use this modified Chibi, pass
`-f guix/mcgoron/guix/chibi.scm` to `guix` in place of `chibi-scheme`.

Packages of only Scheme code intended for use in Chibi should use the
`chibi-scheme-build-system` build system, which will simply copy files
to the appropriate directory. Code that contains shared objects (from
`chibi-ffi`) should use `gnu-build-system` and copy the files in an
input. Pass `-L guix` to load the included Guix libraries.

## Foment

Located at `(mcgoron guix foment)`.

The build script here will build [Foment](https://github.com/leftmike/foment).
The last release of Foment was a long time ago, so the build is for the
current HEAD at the time of writing (6089c3c).

Use `foment-build-system` to copy files into the Foment library directory.