diff options
author | Vincent Ambo <tazjin@google.com> | 2020-05-16T03·08+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2020-05-16T03·08+0100 |
commit | d97cf260a2547a53853dafee896176c5814ef482 (patch) | |
tree | 22194b6dca32259b4cf179b2c703b1e88a10ab7a /third_party | |
parent | a078cabc7123ef9082e01c8eab29adc34f4b0399 (diff) |
refactor(tools/emacs): Move third-party overrides to //third_party r/719
EXWM and vterm are overridden, but this shouldn't be happening outside of //third_party
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/emacs/exwm.nix | 13 | ||||
-rw-r--r-- | third_party/emacs/vterm.nix | 11 |
2 files changed, 24 insertions, 0 deletions
diff --git a/third_party/emacs/exwm.nix b/third_party/emacs/exwm.nix new file mode 100644 index 000000000000..58552053148f --- /dev/null +++ b/third_party/emacs/exwm.nix @@ -0,0 +1,13 @@ +# 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/vterm.nix b/third_party/emacs/vterm.nix new file mode 100644 index 000000000000..674a919c99f0 --- /dev/null +++ b/third_party/emacs/vterm.nix @@ -0,0 +1,11 @@ +# Overridden vterm to fetch a newer version +{ pkgs, ... }: + +pkgs.emacsPackages.vterm.overrideAttrs(_: { + src = pkgs.fetchFromGitHub{ + owner = "akermu"; + repo = "emacs-libvterm"; + rev = "58b4cc40ee9872a08fc5cbfee78ad0e195a3306c"; + sha256 = "1w5yfl8nq4k7xyldf0ivzv36vhz3dwdzk6q2vs3xwpx6ljy52px6"; + }; +}) |