Skip to content

Commit

Permalink
docs/user-guide: slightly simplify lib-overlay example
Browse files Browse the repository at this point in the history
  • Loading branch information
MattSturgeon committed Jan 17, 2025
1 parent 5147429 commit e448413
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/user-guide/helpers.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ This can be achieved using the lib overlay, available via the `<nixvim>.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;
Expand Down

0 comments on commit e448413

Please sign in to comment.