about summary refs log tree commit diff
path: root/configs/shared/.emacs.d/wpc/prelude.nix
diff options
context:
space:
mode:
Diffstat (limited to 'configs/shared/.emacs.d/wpc/prelude.nix')
-rw-r--r--configs/shared/.emacs.d/wpc/prelude.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/configs/shared/.emacs.d/wpc/prelude.nix b/configs/shared/.emacs.d/wpc/prelude.nix
new file mode 100644
index 000000000000..626d4526a25d
--- /dev/null
+++ b/configs/shared/.emacs.d/wpc/prelude.nix
@@ -0,0 +1,11 @@
+{ pkgs ? import (builtins.fetchTarball
+  "https://github.com/tazjin/depot/archive/master.tar.gz") {} }:
+
+# Ciruclar dependency warning: list.nix depends on prelude.nix, which depends on
+# list.nix.
+pkgs.writeElispBin {
+  name = "prelude";
+  # If this can build with epkgs.ht, remove `(require 'ht)`.
+  deps = epkgs: [ epkgs.s epkgs.dash epkgs.f ./string.nix ./list.nix ];
+  src = ./prelude.el;
+}