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
15
16
26 inputs: let
27 overlaySet = {
28
29
30
31
32
33 nixCatsBuilds = import ./customBuildsOverlay.nix;
34
35 };
36 in
37
38
39 builtins.attrValues (builtins.mapAttrs (name: value: (value name inputs)) overlaySet)
40
41 ---------------------------------------------------------------------------------------
42 Example overlays without the comments:
43 The value in importName is the name in the set from overlaySet
44 You dont need to use it, but it helps in avoiding naming conflicts.
45
46 */
47
48 /*
49 importName: inputs: let
50 overlay = self: super: {
51 ${importName} = {
52
53 };
54 };
55 in
56 overlay
57
58
59 importName: inputs: let
60 overlay = self: super: {
61 ${importName} = some.derivation.here;
62 };
63 in
64 overlay
65
66 ---------------------------------------------------------------------------------------
67 vim:tw=78:ts=8:ft=help:norl: