e9bfa84aaf
nixpkgs includes a lispPackages set which is generated from something. In the meantime, we pretty much never update our Lisp deps. This commit ties our sources to nixpkgs.lispPackages where the desired package is included in nixpkgs (which is actually most of them!) Change-Id: I520a006535980271b2fa4e0ed4e34029475dcbef Reviewed-on: https://cl.tvl.fyi/c/depot/+/4331 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi>
23 lines
548 B
Nix
23 lines
548 B
Nix
# This library is meant to make writing portable multi-threaded apps
|
|
# in Common Lisp simple.
|
|
{ depot, pkgs, ... }:
|
|
|
|
let
|
|
src = with pkgs; srcOnly lispPackages.bordeaux-threads;
|
|
getSrc = f: "${src}/src/${f}";
|
|
in depot.nix.buildLisp.library {
|
|
name = "bordeaux-threads";
|
|
deps = [ depot.third_party.lisp.alexandria ];
|
|
|
|
srcs = map getSrc [
|
|
"pkgdcl.lisp"
|
|
"bordeaux-threads.lisp"
|
|
] ++ [
|
|
{
|
|
sbcl = getSrc "impl-sbcl.lisp";
|
|
ecl = getSrc "impl-ecl.lisp";
|
|
}
|
|
] ++ map getSrc [
|
|
"default-implementations.lisp"
|
|
];
|
|
}
|