d51cd34fb7
Subflakes should provide their wares as outputs, so wire up the pkgs flake to reflect that. Due to the unstable nature of flakes, updating the root flake doesn't currently update the subflake lock file. Therefore, add additional logic to flk update script in order to do this behind the scenes. Nix is now pulled in from the "nix" registry flake in order for users to take advantage of improvements to the UI since its last update in nixpkgs.
33 lines
825 B
Nix
33 lines
825 B
Nix
# override defaults to nixpkgs/master
|
|
{
|
|
# modules to pull from override, stable version is automatically disabled
|
|
modules = [ ];
|
|
|
|
# if a modules name changed in override, add the old name here
|
|
disabledModules = [ ];
|
|
|
|
# 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;
|
|
};
|
|
};
|
|
};
|
|
}
|