diff options
author | Vincent Ambo <mail@tazj.in> | 2021-04-13T22·11+0200 |
---|---|---|
committer | tazjin <mail@tazj.in> | 2021-04-13T22·56+0000 |
commit | bfaa5cbb9205450857eff9120cd11c29149bff74 (patch) | |
tree | 3086fce30860f4e12cbedb0bef4745d764f7271c /third_party/overlays/tvl.nix | |
parent | 9d95751302377ac74b0bb05e09ef4b5f7831dc15 (diff) |
feat(overlays/tvl): Add our emacs packages to the fixpoint r/2504
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>
Diffstat (limited to 'third_party/overlays/tvl.nix')
-rw-r--r-- | third_party/overlays/tvl.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/third_party/overlays/tvl.nix b/third_party/overlays/tvl.nix index 01f7156ff19b..4abb8f7485d5 100644 --- a/third_party/overlays/tvl.nix +++ b/third_party/overlays/tvl.nix @@ -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; + }) + ); } |