diff options
author | Vincent Ambo <mail@tazj.in> | 2021-12-14T21·32+0300 |
---|---|---|
committer | tazjin <mail@tazj.in> | 2021-12-15T10·34+0000 |
commit | e9bfa84aafc65896e2fffead2f1ef4853bdd59af (patch) | |
tree | 711bd7c6aa289a7175c635c8866e75c85287ab45 /third_party/lisp/s-sysdeps.nix | |
parent | b0614b5c83ae62672cb036bebb6ce12675aa3074 (diff) |
refactor(3p/lisp): Use sources from nixpkgs where possible r/3246
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>
Diffstat (limited to 'third_party/lisp/s-sysdeps.nix')
-rw-r--r-- | third_party/lisp/s-sysdeps.nix | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/third_party/lisp/s-sysdeps.nix b/third_party/lisp/s-sysdeps.nix index 571eb147c724..9c4da4a02b25 100644 --- a/third_party/lisp/s-sysdeps.nix +++ b/third_party/lisp/s-sysdeps.nix @@ -1,12 +1,7 @@ # A Common Lisp abstraction layer over platform dependent functionality. { depot, pkgs, ... }: -let src = pkgs.fetchFromGitHub { - owner = "svenvc"; - repo = "s-sysdeps"; - rev = "d28246b5dffef9e73a0e0e6cfbc4e878006fe34d"; - sha256 = "14b69b81yrxmjlvmm3lfxk04x5v7hqz4fql121334wh72czznfh9"; -}; +let src = with pkgs; srcOnly lispPackages.s-sysdeps; in depot.nix.buildLisp.library { name = "s-sysdeps"; @@ -14,4 +9,10 @@ in depot.nix.buildLisp.library { "${src}/src/package.lisp" "${src}/src/sysdeps.lisp" ]; + + deps = with depot.third_party.lisp; [ + bordeaux-threads + usocket + usocket-server + ]; } |