os/overlays/overrides.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
886 B
Nix
Raw Normal View History

2021-04-22 03:44:15 +00:00
channels: final: prev: {
__dontExport = true; # overrides clutter up actual creations
inherit
(channels.latest)
nixd
2023-07-17 20:40:52 +00:00
erpnext-app
frappe-app
frappe-erpnext-assets
;
2021-04-22 03:44:15 +00:00
haskellPackages =
prev.haskellPackages.override
2021-06-25 05:58:26 +00:00
(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
;
});
2021-06-25 05:58:26 +00:00
});
vimPlugins = prev.vimPlugins // {inherit (channels.latest.vimPlugins) nvim-lspconfig;};
2023-07-17 20:40:52 +00:00
python3 = prev.python3.override {
packageOverrides = pyfinal: pyprev: {
inherit (channels.latest.python3.pkgs) bench erpnext frappe;
};
};
2021-04-22 03:44:15 +00:00
}