os/overlays/overrides.nix

45 lines
1.1 KiB
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
dhall
discord
element-desktop
rage
2021-04-22 03:44:15 +00:00
nixpkgs-fmt
2022-01-19 00:13:15 +00:00
qutebrowser
2021-04-22 03:44:15 +00:00
signal-desktop
starship
deploy-rs
2022-01-19 00:13:15 +00:00
thunderbird
firefox-wayland
element-desktop-wayland
2022-01-19 00:13:15 +00:00
nomad
tdesktop
obs-studio
obs-studio-plugins
looking-glass-client
;
2021-04-22 03:44:15 +00:00
# nix is set to 2.3 in 21.11
2022-01-19 00:13:15 +00:00
nix-direnv = prev.nix-direnv.override { nix_2_4 = true; };
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;
});
});
2022-01-19 00:13:15 +00:00
# Example to override node package
# nodePackages = prev.nodePackages // { inherit (channels.latest.nodePackages) manta; };
2021-04-22 03:44:15 +00:00
}