about summary refs log tree commit diff
path: root/third_party/lisp/sb-bsd-sockets.nix
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/lisp/sb-bsd-sockets.nix')
-rw-r--r--third_party/lisp/sb-bsd-sockets.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/third_party/lisp/sb-bsd-sockets.nix b/third_party/lisp/sb-bsd-sockets.nix
new file mode 100644
index 000000000000..d311f8590f74
--- /dev/null
+++ b/third_party/lisp/sb-bsd-sockets.nix
@@ -0,0 +1,10 @@
+# SB-BSD-SOCKETS is an SBCL component. This package just forces it to
+# be loaded.
+{ pkgs, ... }:
+
+with pkgs;
+
+nix.buildLisp.library {
+  name = "sb-bsd-sockets";
+  srcs = lib.singleton (builtins.toFile "sb-bsd-sockets.lisp" "(require 'sb-bsd-sockets)");
+}