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;