about summary refs log tree commit diff
path: root/third_party/lisp/moptilities.nix
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/lisp/moptilities.nix')
-rw-r--r--third_party/lisp/moptilities.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/third_party/lisp/moptilities.nix b/third_party/lisp/moptilities.nix
new file mode 100644
index 000000000000..df72de5ce396
--- /dev/null
+++ b/third_party/lisp/moptilities.nix
@@ -0,0 +1,14 @@
+# Compatibility layer for minor MOP implementation differences
+{ pkgs, ... }:
+
+let src = pkgs.third_party.fetchFromGitHub {
+  owner = "gwkkwg";
+  repo = "moptilities";
+  rev = "a436f16b357c96b82397ec018ea469574c10dd41";
+  sha256 = "1q12bqjbj47lx98yim1kfnnhgfhkl80102fkgp9pdqxg0fp6g5fc";
+};
+in pkgs.nix.buildLisp.library {
+  name = "moptilities";
+  deps = [ pkgs.third_party.lisp.closer-mop ];
+  srcs = [ "${src}/dev/moptilities.lisp" ];
+}