forked from pub-solar/os
teutat3s
5ad5c9bae6
Use treefmt For context, see upstream PR: https://github.com/divnix/digga/pull/491
50 lines
1 KiB
Nix
50 lines
1 KiB
Nix
channels: final: prev: {
|
|
__dontExport = true; # overrides clutter up actual creations
|
|
|
|
inherit
|
|
(channels.latest)
|
|
cachix
|
|
dhall
|
|
discord
|
|
element-desktop
|
|
rage
|
|
nix-index
|
|
qutebrowser
|
|
alejandra
|
|
signal-desktop
|
|
starship
|
|
deploy-rs
|
|
nix
|
|
tdesktop
|
|
arduino
|
|
arduino-cli
|
|
gurk-rs
|
|
thunderbird
|
|
swaynotificationcenter
|
|
yubikey-agent
|
|
;
|
|
|
|
#inherit (channels.master)
|
|
# ;
|
|
|
|
#inherit (channels.fork)
|
|
# ;
|
|
|
|
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; };
|
|
}
|