1 ---------------------------------------------------------------------------------------
2 nixCats.flake.nixperts.overlays
3
4 # The following is the overlays/default.nix file.
5 # you may copy paste it into a file then include it in your flake.nix
6 # to add new overlays you should follow
7 # the example inside the comment block.
8 # it is done this way for convenience but you could do it another way.
9
10 # When importing these overlays from one nixCats into another using its otherOverlays,
11 # you should use the utils.mergeOverlays function to combine them.
12 # This will allow you not to worry about other nixCats overlay
13 # imports from having import naming conflicts with your own.
14
15
20
21
31 inputs: let
32 overlaySet = {
33
34
35
36
37
38 nixCatsBuilds = import ./customBuildsOverlay.nix;
39
40 };
41 in
42
43
44 builtins.attrValues (builtins.mapAttrs (name: value: (value name inputs)) overlaySet)
45
46 ---------------------------------------------------------------------------------------
47 Example overlays without the comments:
48 The value in importName is the name in the set from overlaySet
49 You dont need to use it, but it helps in avoiding naming conflicts.
50
51 */
52
53 /*
54 importName: inputs: let
55 overlay = self: super: {
56 ${importName} = {
57
58 };
59 };
60 in
61 overlay
62
63
64 importName: inputs: let
65 overlay = self: super: {
66 ${importName} = some.derivation.here;
67 };
68 in
69 overlay
70
71 ---------------------------------------------------------------------------------------
72 vim:tw=78:ts=8:ft=help:norl: