b880fc4a14
Still pruning the dependency tree. Thank you, seq.el, from DWIMing. Change-Id: I797f08abe44853b9d297a99d5ba9e9bde3dcfeec Reviewed-on: https://cl.tvl.fyi/c/depot/+/6040 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
26 lines
585 B
Nix
26 lines
585 B
Nix
{ pkgs, depot, ... }:
|
|
|
|
let
|
|
list = pkgs.callPackage
|
|
({ emacsPackages }:
|
|
emacsPackages.trivialBuild {
|
|
pname = "list";
|
|
version = "1.0.0";
|
|
src = ./list.el;
|
|
packageRequires =
|
|
(with depot.users.wpcarro.emacs.pkgs; [
|
|
maybe
|
|
set
|
|
]);
|
|
})
|
|
{ };
|
|
|
|
emacs = (pkgs.emacsPackagesFor pkgs.emacs28).emacsWithPackages (epkgs: [ list ]);
|
|
in
|
|
list.overrideAttrs (_old: {
|
|
doCheck = true;
|
|
checkPhase = ''
|
|
${emacs}/bin/emacs -batch \
|
|
-l ert -l ${./tests.el} -f ert-run-tests-batch-and-exit
|
|
'';
|
|
})
|