os/overlays/overrides.nix

31 lines
717 B
Nix
Raw Normal View History

2021-04-22 03:44:15 +00:00
channels: final: prev: {
__dontExport = true; # overrides clutter up actual creations
2021-04-22 03:44:15 +00:00
inherit (channels.latest)
cachix
2021-10-11 22:38:38 +00:00
deploy-rs
2021-04-22 03:44:15 +00:00
dhall
discord
element-desktop-wayland
neovim-unwrapped
2021-04-22 03:44:15 +00:00
nixpkgs-fmt
2021-10-11 22:38:38 +00:00
nomad
rage
2021-04-22 03:44:15 +00:00
signal-desktop
;
2021-04-22 03:44:15 +00:00
2021-06-25 05:58:26 +00:00
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;
});
});
2021-04-22 03:44:15 +00:00
}