mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
docs/user-guide: slightly simplify lib-overlay example
This commit is contained in:
parent
51474292cd
commit
e4484133d6
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue