Add custom lib
This commit is contained in:
parent
8f97bc80e3
commit
2240c4e256
3 changed files with 22 additions and 0 deletions
8
lib/default.nix
Normal file
8
lib/default.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{nixpkgs}:
|
||||
nixpkgs.lib.extend (final: prev: {
|
||||
toast = let
|
||||
importLib = file: import file {lib = final;};
|
||||
in {
|
||||
patches = importLib ./patches.nix;
|
||||
};
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue