os/overlays/overrides.nix

58 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
inherit
(channels.latest)
2021-04-22 03:44:15 +00:00
cachix
dhall
discord
element-desktop
rage
nix-index
2022-01-19 00:13:15 +00:00
qutebrowser
alejandra
2021-04-22 03:44:15 +00:00
signal-desktop
starship
deploy-rs
tdesktop
arduino
arduino-cli
gurk-rs
thunderbird
swaynotificationcenter
yubikey-agent
;
inherit
(channels.fork)
qMasterPassword
;
inherit
(channels.nixos-22-05)
terraform
;
#inherit (channels.master)
# ;
#inherit (channels.fork)
# ;
haskellPackages =
prev.haskellPackages.override
2021-06-25 05:58:26 +00:00
(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
;
});
2021-06-25 05:58:26 +00:00
});
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
}