os/overlays/overrides.nix
Benjamin Bädorf a97bf09324
All checks were successful
continuous-integration/drone/push Build is passing
Merge branch 'main' into b12f
2023-02-01 13:52:00 +01:00

50 lines
937 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
qutebrowser
alejandra
signal-desktop
starship
deploy-rs
tdesktop
arduino
arduino-cli
steam
firefox
;
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
;
});
});
}