pub-solar-os/overlays/overrides.nix
2022-10-17 15:56:48 +02:00

48 lines
924 B
Nix

channels: final: prev: {
__dontExport = true; # overrides clutter up actual creations
inherit (channels.latest)
cachix
docker
docker-compose
dhall
discord
element-desktop
rage
nix-index
nixpkgs-fmt
qutebrowser
signal-desktop
starship
deploy-rs
nix
tdesktop
arduino
arduino-cli
steam
;
inherit (channels.pub-solar)
yubikey-agent
;
inherit (channels.master)
factorio-headless
;
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;
});
});
}