0534c731e2
Use correct overrides for nix 2.4
34 lines
828 B
Nix
34 lines
828 B
Nix
channels: final: prev: {
|
|
|
|
__dontExport = true; # overrides clutter up actual creations
|
|
|
|
inherit (channels.latest)
|
|
cachix
|
|
dhall
|
|
discord
|
|
element-desktop-wayland
|
|
rage
|
|
neovim-unwrapped
|
|
nixpkgs-fmt
|
|
qutebrowser
|
|
signal-desktop
|
|
starship
|
|
deploy-rs
|
|
;
|
|
|
|
# nix is set to 2.3 in 21.11
|
|
nix-direnv = prev.nix-direnv.override { nix_2_4 = true; };
|
|
|
|
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;
|
|
});
|
|
});
|
|
}
|