Skip to content

Uthar/nix-cl

Repository files navigation

nix-cl

Utilities for packaging ASDF systems using Nix.

Warning

This library is EXPERIMENTAL and everything can change

Quick start

Build an ASDF system:

nix build .#sbcl.pkgs.bordeaux-threads
ls result/src

Build a lisp with packages:

source lwp.bash
lwp sbcl alexandria bordeaux-threads
result/bin/sbcl
(load (sb-ext:posix-getenv "ASDF"))
(asdf:load-system 'bordeaux-threads)

Re-import Quicklisp packages:

nix develop
sbcl --script ql-import.lisp

Run tests:

sbcl --script test-lisp.lisp

Documentation

See doc directory.

Supported Common Lisp implementations

  • ABCL
  • CCL
  • Clasp
  • CLISP
  • ECL
  • SBCL

Supported systems

  • aarch64-darwin
  • aarch64-linux
  • x86_64-darwin
  • x86_64-linux

Other Nix+CL projects

License

FreeBSD - see COPYING