d262d30543
My first foray trying to package Common Lisp with Nix. I'm using @tazjin's buildLisp and other libraries, all of which I'm importing as `tpkgs`, and all of which have been a tremendous boon to my productivity.
19 lines
461 B
Nix
19 lines
461 B
Nix
{ tpkgs ? (import (builtins.fetchGit "https://git.tazj.in/") {}), ... }:
|
|
|
|
let
|
|
src = builtins.fetchGit {
|
|
url = "https://github.com/tpapp/let-plus.git";
|
|
rev = "7cf18b29ed0fe9c667a9a6a101b08ab9661a59e9";
|
|
};
|
|
in tpkgs.nix.buildLisp.library {
|
|
name = "let-plus";
|
|
deps = with tpkgs.third_party.lisp; [
|
|
alexandria
|
|
(import ./anaphora.nix {})
|
|
];
|
|
srcs = [
|
|
"${src}/package.lisp"
|
|
"${src}/let-plus.lisp"
|
|
"${src}/extensions.lisp"
|
|
];
|
|
}
|