From 9d5c5be40988b417a14cf89b207b1bee30fe4796 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Tue, 20 Aug 2024 20:04:26 +0800 Subject: [PATCH] wrapper-manager-fds: add overlays in the user entrypoint --- default.nix | 3 +++ docs/website/content/en/project-overview.adoc | 3 +++ 2 files changed, 6 insertions(+) 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]