feat(overlays/tvl): Add our emacs packages to the fixpoint

Adds all TVL Emacs packages to the emacsPackages fixpoint unter
`tvlPackages` ... one step closer to native compilation.

Change-Id: I938689ccab057164babfb88cd467a490b3efd39b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3004
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
Reviewed-by: adisbladis <adisbladis@gmail.com>
This commit is contained in:
Vincent Ambo 2021-04-14 00:11:02 +02:00 committed by tazjin
parent 9d95751302
commit bfaa5cbb92

View file

@ -1,6 +1,6 @@
# This overlay is used to make TVL-specific modifications in the
# nixpkgs tree, where required.
{ ... }:
{ depot, ... }:
self: super: {
# Required for apereo-cas
@ -24,4 +24,11 @@ self: super: {
clang-tools = (super.clang-tools.override {
llvmPackages = self.llvmPackages_11;
});
# Add our Emacs packages to the fixpoint
emacsPackagesFor = emacs: (
(super.emacsPackagesFor emacs).overrideScope' (eself: esuper: {
tvlPackages = depot.tools.emacs-pkgs // depot.third_party.emacs;
})
);
}