2022-11-20 16:23:58 +01:00
|
|
|
# This file defines overlays
|
2023-02-12 00:32:13 +01:00
|
|
|
{ inputs, outputs, ... }:
|
2022-11-20 16:23:58 +01:00
|
|
|
{
|
|
|
|
# This one brings our custom packages from the 'pkgs' directory
|
|
|
|
additions = final: _prev: import ../pkgs { pkgs = final; };
|
|
|
|
|
|
|
|
# This one contains whatever you want to overlay
|
|
|
|
# You can change versions, add patches, set compilation flags, anything really.
|
|
|
|
# https://nixos.wiki/wiki/Overlays
|
|
|
|
modifications = final: prev: {
|
|
|
|
# example = prev.example.overrideAttrs (oldAttrs: rec {
|
|
|
|
# ...
|
|
|
|
# });
|
|
|
|
};
|
|
|
|
}
|