ark/overlays/overrides.nix

41 lines
1.1 KiB
Nix
Raw Normal View History

2021-04-22 06:44:15 +03:00
channels: final: prev: {
__dontExport = true; # overrides clutter up actual creations
2021-04-22 06:44:15 +03:00
inherit (channels.latest)
cachix
dhall
discord
element-desktop
rage
2021-04-22 06:44:15 +03:00
nixpkgs-fmt
qutebrowser
signal-desktop
starship;
<<<<<<< HEAD
2021-04-22 06:44:15 +03:00
haskellPackages = prev.haskellPackages.override {
overrides = 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-04-22 06:44:15 +03:00
2021-06-25 08:58:26 +03:00
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;
});
});
>>>>>>> upstream/develop
2021-04-22 06:44:15 +03:00
}