os/overlays/overrides.nix
teutat3s 58efdd3528
Use nixUnstable from latest channel, aka nixos-unstable
this is required because 2.5.1 with a required fix

for nix docker didn't get backported to release-21.11 yet
2022-02-03 01:14:21 +01:00

41 lines
898 B
Nix

channels: final: prev: {
__dontExport = true; # overrides clutter up actual creations
inherit (channels.latest)
cachix
dhall
discord
element-desktop
rage
nixpkgs-fmt
qutebrowser
signal-desktop
starship
deploy-rs
nixUnstable
neovim-unwrapped
tdesktop
xdg-desktop-portal
xdg-desktop-portal-gtk
xdg-desktop-portal-wlr
obs-studio
obs-studio-plugins
looking-glass-client
;
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;
});
});
}