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:
parent
9d95751302
commit
bfaa5cbb92
1 changed files with 8 additions and 1 deletions
9
third_party/overlays/tvl.nix
vendored
9
third_party/overlays/tvl.nix
vendored
|
@ -1,6 +1,6 @@
|
||||||
# This overlay is used to make TVL-specific modifications in the
|
# This overlay is used to make TVL-specific modifications in the
|
||||||
# nixpkgs tree, where required.
|
# nixpkgs tree, where required.
|
||||||
{ ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
self: super: {
|
self: super: {
|
||||||
# Required for apereo-cas
|
# Required for apereo-cas
|
||||||
|
@ -24,4 +24,11 @@ self: super: {
|
||||||
clang-tools = (super.clang-tools.override {
|
clang-tools = (super.clang-tools.override {
|
||||||
llvmPackages = self.llvmPackages_11;
|
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;
|
||||||
|
})
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue