os/overlays/overrides.nix

45 lines
1,009 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
docker
docker-compose_2
nomad
tdesktop
obs-studio
obs-studio-plugins
looking-glass-client
;
inherit (channels.master)
qMasterPassword
;
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;
});
});
# Example to override node package
# nodePackages = prev.nodePackages // { inherit (channels.latest.nodePackages) manta; };
}