yep, more dotfiles
1{ self
2, lib
3, ...
4}:
5
6let
7 inherit (lib) composeManyExtensions;
8in
9rec {
10 # Bundles all overlays, order matters here
11 all = composeManyExtensions [ bringSpecialArgs patches ];
12
13 # Bring `self`, `llib` and `upkgs`
14 bringSpecialArgs = final: prev: self.flake-lib.specialModuleArgs final;
15
16 # Custom derivation patches that temporarily fix a package
17 patches = import ./patches.nix;
18}