Add custom lib

This commit is contained in:
Toast 2025-11-02 09:59:40 +01:00
parent 8f97bc80e3
commit 2240c4e256
3 changed files with 22 additions and 0 deletions

8
lib/default.nix Normal file
View file

@ -0,0 +1,8 @@
{nixpkgs}:
nixpkgs.lib.extend (final: prev: {
toast = let
importLib = file: import file {lib = final;};
in {
patches = importLib ./patches.nix;
};
})