about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--third_party/emacs/exwm.nix13
-rw-r--r--third_party/emacs/exwm/default.nix7
2 files changed, 7 insertions, 13 deletions
diff --git a/third_party/emacs/exwm.nix b/third_party/emacs/exwm.nix
deleted file mode 100644
index 58552053148f..000000000000
--- a/third_party/emacs/exwm.nix
+++ /dev/null
@@ -1,13 +0,0 @@
-# EXWM straight from GitHub. As of 2020-05-15, XELB in nixpkgs is
-# already at a recent enough version and does not need to be
-# overridden.
-{ pkgs, ... }:
-
-pkgs.emacsPackages.exwm.overrideAttrs(_: {
-  src = pkgs.fetchFromGitHub {
-    owner = "ch11ng";
-    repo = "exwm";
-    rev = "48db94f48bea1137132345abfe8256cfc6219248";
-    sha256 = "0jj12z6m5kvanq19gds3jpvid2mg8w28bbbq9iycl751y2sj4l1r";
-  };
-})
diff --git a/third_party/emacs/exwm/default.nix b/third_party/emacs/exwm/default.nix
new file mode 100644
index 000000000000..e1680a37d93b
--- /dev/null
+++ b/third_party/emacs/exwm/default.nix
@@ -0,0 +1,7 @@
+# EXWM is present in nixpkgs and we do not (currently) intend to
+# change the code structure, so the existing drv can be reused.
+{ pkgs, ... }:
+
+pkgs.emacsPackages.exwm.overrideAttrs(_: {
+  src = ./.;
+})