about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--third_party/nixpkgs/default.nix1
-rw-r--r--third_party/overlays/emacs.nix11
2 files changed, 12 insertions, 0 deletions
diff --git a/third_party/nixpkgs/default.nix b/third_party/nixpkgs/default.nix
index 86e1f3b31f46..345b61e2d4c5 100644
--- a/third_party/nixpkgs/default.nix
+++ b/third_party/nixpkgs/default.nix
@@ -58,5 +58,6 @@ in import nixpkgsSrc {
     stableOverlay
     depot.third_party.overlays.tvl
     depot.third_party.overlays.haskell
+    depot.third_party.overlays.emacs
   ];
 }
diff --git a/third_party/overlays/emacs.nix b/third_party/overlays/emacs.nix
new file mode 100644
index 000000000000..77d1cd6f7771
--- /dev/null
+++ b/third_party/overlays/emacs.nix
@@ -0,0 +1,11 @@
+# Emacs overlay from https://github.com/nix-community/emacs-overlay
+{ ... }:
+
+let
+  # from 2020-04-13
+  commit = "15ed1f372a83ec748ac824bdc5b573039c18b82f";
+  src = builtins.fetchTarball {
+    url = "https://github.com/nix-community/emacs-overlay/archive/${commit}.tar.gz";
+    sha256 = "0m4vb7p29rgbpaavwn9jjid1zz48k1l9za5gy3d8nadqjn7x4dm1";
+  };
+in import src