os/overlays/overrides.nix
teutat3s 2f0b24b3a9
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
flake: Use nixos-23.05 for erpnext input
The override did not work and the resulting python penv was
broken (e.g. missing the bench, erpnext, frappe packages).
2023-07-18 02:38:34 +02:00

25 lines
671 B
Nix

channels: final: prev: {
__dontExport = true; # overrides clutter up actual creations
inherit
(channels.latest)
nixd
;
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;};
}