diff --git a/default.nix b/default.nix index a21f9b3..7ea52e4 100644 --- a/default.nix +++ b/default.nix @@ -17,4 +17,7 @@ lib = import ./lib/env.nix; wrapperManagerLib = ./lib; + overlays.default = final: prev: { + wrapperManagerLib = import ./lib { pkgs = final; }; + }; } diff --git a/docs/website/content/en/project-overview.adoc b/docs/website/content/en/project-overview.adoc index c6afc34..c8712be 100644 --- a/docs/website/content/en/project-overview.adoc +++ b/docs/website/content/en/project-overview.adoc @@ -127,6 +127,9 @@ in wrapperManagerLib.env.build { } ---- +* `overlays` is a set of nixpkgs overlays to be applied by the user. +So far, there's only one overlay called `default` containing the wrapper-manager library set. + [#getting-started]