helm/overlays/overrides.nix
2022-11-02 21:10:19 +10:00

34 lines
847 B
Nix

channels: final: prev: {
__dontExport = true; # overrides clutter up actual creations
inherit (channels.latest)
cachix
dhall
discord
element-desktop
rage
nixpkgs-fmt
qutebrowser
nheko
signal-desktop
tootle
sublime-music
starship;
#TODO: Secure SSL until nixpkgs catches up
nginxStable = prev.nginxStable.override { openssl = pkgs.openssl_1_1; };
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;
});
});
}