diff options
author | Vincent Ambo <tazjin@google.com> | 2020-01-26T23·59+0000 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2020-01-26T23·59+0000 |
commit | a41b8c70a68b3b6d848d708cd8058866b23847e6 (patch) | |
tree | 18cf49e0e1adce9c780e45909c7e14de4063b27a /third_party/lisp/cffi.nix | |
parent | ca60eafa808e2423fd64996b4f678b08ed3277a5 (diff) |
refactor(third_party/lisp): Use buildLisp.bundled for built-in libs r/462
Deprecates derivations for: * sb-bsd-sockets * sb-posix * sb-rotate-byte * uiop
Diffstat (limited to 'third_party/lisp/cffi.nix')
-rw-r--r-- | third_party/lisp/cffi.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/third_party/lisp/cffi.nix b/third_party/lisp/cffi.nix index 556dee0676c0..a01dab892415 100644 --- a/third_party/lisp/cffi.nix +++ b/third_party/lisp/cffi.nix @@ -1,18 +1,19 @@ # CFFI purports to be the Common Foreign Function Interface. { pkgs, ... }: +with pkgs.nix; let src = builtins.fetchGit { url = "https://github.com/cffi/cffi.git"; rev = "5e838bf46d0089c43ebd3ea014a207c403e29c61"; }; -in pkgs.nix.buildLisp.library { +in buildLisp.library { name = "cffi"; deps = with pkgs.third_party.lisp; [ alexandria - asdf babel trivial-features - uiop + (buildLisp.bundled "asdf") + (buildLisp.bundled "uiop") ]; srcs = map (f: src + ("/src/" + f)) [ |