os/overrides/default.nix

33 lines
812 B
Nix
Raw Normal View History

2021-02-14 02:38:20 +00:00
# override defaults to nixpkgs/master
{
2021-02-14 02:38:20 +00:00
# modules to pull from override, stable version is automatically disabled
modules = [ ];
2021-02-14 02:38:20 +00:00
# if a modules name changed in override, add the old name here
disabledModules = [ ];
2021-02-14 02:38:20 +00:00
# packages pulled from override
packages = pkgs: final: prev: {
inherit (pkgs)
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;
};
};
};
}