From e4484133d662ca7cd0f4e15c35100330ddf5d8d0 Mon Sep 17 00:00:00 2001 From: Matt Sturgeon Date: Fri, 17 Jan 2025 10:06:39 +0000 Subject: [PATCH] docs/user-guide: slightly simplify lib-overlay example --- docs/user-guide/helpers.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/user-guide/helpers.md b/docs/user-guide/helpers.md index dc450a9811..9fd21e1559 100644 --- a/docs/user-guide/helpers.md +++ b/docs/user-guide/helpers.md @@ -57,8 +57,7 @@ This can be achieved using the lib overlay, available via the `.lib.over outputs = { nixpkgs, ... }@inputs: let - lib = import (nixpkgs + "/lib"); - myCustomLib = lib.extend (final: prev: { + myCustomLib = nixpkgs.lib.extend (final: prev: { # ... }); myCustomLibForNixvim = myCustomLib.extend inputs.nixvim.lib.overlay;