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.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/third_party/lisp/moptilities.nix b/third_party/lisp/moptilities.nix
new file mode 100644
index 000000000000..a8a387ab914f
--- /dev/null
+++ b/third_party/lisp/moptilities.nix
@@ -0,0 +1,18 @@
+# Compatibility layer for minor MOP implementation differences
+{ depot, pkgs, ... }:
+
+let src = pkgs.fetchFromGitHub {
+  owner = "gwkkwg";
+  repo = "moptilities";
+  rev = "a436f16b357c96b82397ec018ea469574c10dd41";
+  sha256 = "1q12bqjbj47lx98yim1kfnnhgfhkl80102fkgp9pdqxg0fp6g5fc";
+};
+in depot.nix.buildLisp.library {
+  name = "moptilities";
+  deps = [ depot.third_party.lisp.closer-mop ];
+  srcs = [ "${src}/dev/moptilities.lisp" ];
+
+  brokenOn = [
+    "ecl" # TODO(sterni): https://gitlab.com/embeddable-common-lisp/ecl/-/issues/651
+  ];
+}