refactor(3p/exwm): Inline build instructions instead of overriding
Change-Id: If16a57e8dd905c8f709bee70dac575509dd22b02 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2343 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
This commit is contained in:
parent
4e34276b69
commit
bf697b4b9d
1 changed files with 18 additions and 3 deletions
21
third_party/emacs/exwm/default.nix
vendored
21
third_party/emacs/exwm/default.nix
vendored
|
@ -1,7 +1,22 @@
|
|||
# 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, lib, ... }:
|
||||
|
||||
pkgs.emacsPackages.exwm.overrideAttrs(_: {
|
||||
let
|
||||
inherit (pkgs.emacsPackages) melpaBuild xelb;
|
||||
in melpaBuild {
|
||||
pname = "exwm";
|
||||
ename = "exwm";
|
||||
version = "0.24";
|
||||
src = ./.;
|
||||
})
|
||||
packageRequires = [ xelb ];
|
||||
|
||||
recipe = builtins.toFile "recipe.el" ''
|
||||
(exwm :fetcher github :repo "ch11ng/exwm")
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://elpa.gnu.org/packages/exwm.html";
|
||||
license = lib.licenses.free;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue