about summary refs log tree commit diff
path: root/third_party
diff options
context:
space:
mode:
authorVincent Ambo <Vincent Ambo>2020-01-09T00·59+0000
committerVincent Ambo <Vincent Ambo>2020-01-09T00·59+0000
commite8d0488367547e960f210b8443e924b56e4dc743 (patch)
tree0a32b68e6adfaf965be38b18c73994691c2b804c /third_party
parent2a170f1ed744b2e80973fe58c8a68885fd1510bb (diff)
feat(third_party/lisp): Add dummy packages for ASDF & UIOP r/356
These both ship with SBCL, but need to be forced to load.
Diffstat (limited to 'third_party')
-rw-r--r--third_party/lisp/asdf.nix9
-rw-r--r--third_party/lisp/uiop.nix10
2 files changed, 19 insertions, 0 deletions
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)");
+}