devos/overlays/overrides.nix

29 lines
601 B
Nix
Raw Normal View History

2021-04-22 05:44:15 +02:00
channels: final: prev: {
__dontExport = true; # overrides clutter up actual creations
2021-04-22 05:44:15 +02:00
inherit (channels.latest)
cachix
dhall
discord
element-desktop
manix
nixpkgs-fmt
qutebrowser
signal-desktop
starship;
haskellPackages = prev.haskellPackages.override {
overrides = 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;
};
};
}