From e8d0488367547e960f210b8443e924b56e4dc743 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Thu, 9 Jan 2020 00:59:45 +0000 Subject: feat(third_party/lisp): Add dummy packages for ASDF & UIOP These both ship with SBCL, but need to be forced to load. --- third_party/lisp/asdf.nix | 9 +++++++++ third_party/lisp/uiop.nix | 10 ++++++++++ 2 files changed, 19 insertions(+) create mode 100644 third_party/lisp/asdf.nix create mode 100644 third_party/lisp/uiop.nix (limited to 'third_party/lisp') diff --git a/third_party/lisp/asdf.nix b/third_party/lisp/asdf.nix new file mode 100644 index 0000000000..3d41a1f36d --- /dev/null +++ b/third_party/lisp/asdf.nix @@ -0,0 +1,9 @@ +# ASDF ships with SBCL. This package just exists to force it to load. +{ pkgs, ... }: + +with pkgs; + +nix.buildLisp.library { + name = "asdf"; + srcs = lib.singleton (builtins.toFile "asdf.lisp" "(require 'asdf)"); +} diff --git a/third_party/lisp/uiop.nix b/third_party/lisp/uiop.nix new file mode 100644 index 0000000000..1a63041be6 --- /dev/null +++ b/third_party/lisp/uiop.nix @@ -0,0 +1,10 @@ +# UIOP ships with SBCL (due to ASDF). This package just exists to +# force it to load. +{ pkgs, ... }: + +with pkgs; + +nix.buildLisp.library { + name = "uiop"; + srcs = lib.singleton (builtins.toFile "uiop.lisp" "(require 'uiop)"); +} -- cgit 1.4.1