os/overlays/overrides.nix
teutat3s 8eb4a0e6b9
All checks were successful
continuous-integration/drone/push Build is passing
nvfetcher: use version 0.6.1.0 from latest instead of flake
2023-07-21 12:09:20 +02:00

39 lines
927 B
Nix

channels: final: prev: {
__dontExport = true; # overrides clutter up actual creations
inherit
(channels.latest)
nixd
nvfetcher
thunderbird
;
inherit
(channels.master)
;
inherit
(channels.nixos-22-05)
terraform
;
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;};
# Example to override node package
# nodePackages = prev.nodePackages // { inherit (channels.latest.nodePackages) manta; };
}