os/overlays/overrides.nix
2023-07-17 22:40:52 +02:00

34 lines
886 B
Nix

channels: final: prev: {
__dontExport = true; # overrides clutter up actual creations
inherit
(channels.latest)
nixd
erpnext-app
frappe-app
frappe-erpnext-assets
;
haskellPackages =
prev.haskellPackages.override
(old: {
overrides = prev.lib.composeExtensions (old.overrides or (_: _: {})) (hfinal: hprev: let
version = prev.lib.replaceChars ["."] [""] prev.ghc.version;
in {
# same for haskell packages, matching ghc versions
inherit
(channels.latest.haskell.packages."ghc${version}")
haskell-language-server
;
});
});
vimPlugins = prev.vimPlugins // {inherit (channels.latest.vimPlugins) nvim-lspconfig;};
python3 = prev.python3.override {
packageOverrides = pyfinal: pyprev: {
inherit (channels.latest.python3.pkgs) bench erpnext frappe;
};
};
}