Skip to content

Commit e448413

Browse files
committed
docs/user-guide: slightly simplify lib-overlay example
1 parent 5147429 commit e448413

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/user-guide/helpers.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@ This can be achieved using the lib overlay, available via the `<nixvim>.lib.over
5757
outputs =
5858
{ nixpkgs, ... }@inputs:
5959
let
60-
lib = import (nixpkgs + "/lib");
61-
myCustomLib = lib.extend (final: prev: {
60+
myCustomLib = nixpkgs.lib.extend (final: prev: {
6261
# ...
6362
});
6463
myCustomLibForNixvim = myCustomLib.extend inputs.nixvim.lib.overlay;

0 commit comments

Comments
 (0)