a291c8690a
GitOrigin-RevId: e6e19f3d81a982a62e1bba08f0b4f7fdc21b4ea0
44 lines
659 B
Nix
44 lines
659 B
Nix
{ depot, ... }:
|
||
|
||
let
|
||
inherit (depot.nix)
|
||
buildLisp
|
||
;
|
||
|
||
lib = buildLisp.library {
|
||
name = "lib🕰️";
|
||
deps = [
|
||
depot.third_party.lisp.local-time
|
||
];
|
||
|
||
srcs = [
|
||
./lib.lisp
|
||
];
|
||
};
|
||
|
||
bin = buildLisp.program {
|
||
name = "🕰️";
|
||
deps = [
|
||
depot.third_party.lisp.unix-opts
|
||
depot.lisp.klatre
|
||
{
|
||
default = buildLisp.bundled "asdf";
|
||
sbcl = buildLisp.bundled "uiop";
|
||
}
|
||
lib
|
||
];
|
||
|
||
srcs = [
|
||
./bin.lisp
|
||
];
|
||
|
||
main = "🕰️.bin:🚂";
|
||
|
||
brokenOn = [
|
||
"ecl" # refuses to create non-ASCII paths even on POSIX…
|
||
];
|
||
};
|
||
in
|
||
bin // {
|
||
inherit lib;
|
||
}
|