2020-07-21 20:29:58 +02:00
|
|
|
{ depot, pkgs, ... }:
|
|
|
|
|
|
|
|
let
|
|
|
|
inherit (depot.nix.buildLisp) bundled;
|
2021-12-14 22:32:27 +01:00
|
|
|
src = with pkgs; srcOnly lispPackages.nibbles;
|
2020-07-21 20:29:58 +02:00
|
|
|
in depot.nix.buildLisp.library {
|
|
|
|
name = "nibbles";
|
|
|
|
|
|
|
|
deps = with depot.third_party.lisp; [
|
|
|
|
(bundled "asdf")
|
|
|
|
];
|
|
|
|
|
|
|
|
srcs = map (f: src + ("/" + f)) [
|
|
|
|
"package.lisp"
|
|
|
|
"types.lisp"
|
|
|
|
"macro-utils.lisp"
|
|
|
|
"vectors.lisp"
|
|
|
|
"streams.lisp"
|
2021-08-09 02:47:07 +02:00
|
|
|
] ++ [
|
|
|
|
{ sbcl = "${src}/sbcl-opt/fndb.lisp"; }
|
|
|
|
{ sbcl = "${src}/sbcl-opt/nib-tran.lisp"; }
|
|
|
|
{ sbcl = "${src}/sbcl-opt/x86-vm.lisp"; }
|
|
|
|
{ sbcl = "${src}/sbcl-opt/x86-64-vm.lisp"; }
|
2020-07-21 20:29:58 +02:00
|
|
|
];
|
|
|
|
}
|