ark/overrides/default.nix

34 lines
825 B
Nix
Raw Normal View History

2021-02-14 05:38:20 +03:00
# override defaults to nixpkgs/master
{
2021-02-14 05:38:20 +03:00
# modules to pull from override, stable version is automatically disabled
modules = [ ];
2021-02-14 05:38:20 +03:00
# if a modules name changed in override, add the old name here
disabledModules = [ ];
2021-02-14 05:38:20 +03:00
# packages pulled from override
packages = pkgs: final: prev: {
inherit (pkgs)
cachix
dhall
discord
element-desktop
manix
nixpkgs-fmt
qutebrowser
signal-desktop
starship;
haskellPackages = prev.haskellPackages.override {
overrides = hfinal: hprev:
let version = prev.lib.replaceChars [ "." ] [ "" ] prev.ghc.version;
in
{
# same for haskell packages, matching ghc versions
inherit (pkgs.haskell.packages."ghc${version}")
haskell-language-server;
};
};
};
}