From 1d71c29919cc631b9d13f8bfbade167789bbec45 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sun, 8 Nov 2020 01:22:44 +0100 Subject: chore(3p/exwm): Update derivation to build local sources ... this should also update my system EXWM. Change-Id: Idfbbda67613ac678dc2d5f82533e1c6176ab4a28 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2072 Tested-by: BuildkiteCI Reviewed-by: glittershark --- third_party/emacs/exwm.nix | 13 ------------- third_party/emacs/exwm/default.nix | 7 +++++++ 2 files changed, 7 insertions(+), 13 deletions(-) delete mode 100644 third_party/emacs/exwm.nix create mode 100644 third_party/emacs/exwm/default.nix (limited to 'third_party/emacs') diff --git a/third_party/emacs/exwm.nix b/third_party/emacs/exwm.nix deleted file mode 100644 index 5855205314..0000000000 --- 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 0000000000..e1680a37d9 --- /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 = ./.; +}) -- cgit 1.4.1