From b43e5529f770818710fffd2458e320f49272d26f Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Mon, 2 Sep 2019 01:24:41 +0100 Subject: feat(third_party): Add missing Quicklisp packages for Gemma Gemma depends on cl-prevalence, which isn't in the nixpkgs Quicklisp snapshot. This adds the package and its dependencies to the overlay. --- third_party/common_lisp/quicklisp.nix | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 third_party/common_lisp/quicklisp.nix (limited to 'third_party/common_lisp/quicklisp.nix') diff --git a/third_party/common_lisp/quicklisp.nix b/third_party/common_lisp/quicklisp.nix new file mode 100644 index 0000000000..a0040f1d6f --- /dev/null +++ b/third_party/common_lisp/quicklisp.nix @@ -0,0 +1,29 @@ +# Overlay over `pkgs.lispPackages` that adds additional packages which +# are missing from the imported Quicklisp package set in nixpkgs. + +{ lib, lispPackages }: + +let inherit (lispPackages) buildLispPackage qlOverrides fetchurl; +in lispPackages // lib.fix(self: { + "s-xml" = buildLispPackage + ((f: x: (x // (f x))) + (qlOverrides."s-xml" or (x: {})) + (import ./quicklisp-to-nix-output/s-xml.nix { + inherit fetchurl; + })); + + "s-sysdeps" = buildLispPackage + ((f: x: (x // (f x))) + (qlOverrides."s-sysdeps" or (x: {})) + (import ./quicklisp-to-nix-output/s-sysdeps.nix { + inherit fetchurl; + })); + + "cl-prevalence" = buildLispPackage + ((f: x: (x // (f x))) + (qlOverrides."cl-prevalence" or (x: {})) + (import ./quicklisp-to-nix-output/cl-prevalence.nix { + inherit fetchurl; + inherit (self) s-sysdeps s-xml; + })); +}) -- cgit 1.4.1