feat(nix/buildLisp): Add initial sketch including buildLisp.library

Adds a Nix function to build a Lisp library out of a specified set of
Nix files. All files are combined into a single FASL.

This is by design only compatible with SBCL (for now).
This commit is contained in:
Vincent Ambo 2020-01-08 02:00:54 +00:00
parent cd0093d46e
commit a954bd8d5e
2 changed files with 97 additions and 0 deletions

21
nix/buildLisp/README.md Normal file
View file

@ -0,0 +1,21 @@
buildLisp.nix
=============
This is a build system for Common Lisp, written in Nix.
The project is in its early stages and currently supports nothing
other than compiling a bunch of Lisp sources into a combined FASL
file.
This is what it currently looks like:
```nix
nix.buildLisp.library {
name = "test-lib";
srcs = [
./nix/buildLisp/test-lib.lisp
];
}
```
Check back here in a few days for more information.