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/chipz.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/chipz.nix')
-rw-r--r-- | third_party/lisp/chipz.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/third_party/lisp/chipz.nix b/third_party/lisp/chipz.nix index 5a8c39dc0568..8f29792bc1fa 100644 --- a/third_party/lisp/chipz.nix +++ b/third_party/lisp/chipz.nix @@ -1,15 +1,17 @@ # Common Lisp library for decompressing deflate, zlib, gzip, and bzip2 data { pkgs, ... }: +with pkgs.nix; + let src = pkgs.third_party.fetchFromGitHub { owner = "froydnj"; repo = "chipz"; rev = "75dfbc660a5a28161c57f115adf74c8a926bfc4d"; sha256 = "0plx4rs39zbs4gjk77h4a2q11zpy75fh9v8hnxrvsf8fnakajhwg"; }; -in pkgs.nix.buildLisp.library { +in buildLisp.library { name = "chipz"; - deps = with pkgs.third_party.lisp; [ asdf ]; + deps = [ (buildLisp.bundled "asdf") ]; srcs = map (f: src + ("/" + f)) [ "chipz.asd" |