mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35: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 =
|
outputs =
|
||||||
{ nixpkgs, ... }@inputs:
|
{ nixpkgs, ... }@inputs:
|
||||||
let
|
let
|
||||||
lib = import (nixpkgs + "/lib");
|
myCustomLib = nixpkgs.lib.extend (final: prev: {
|
||||||
myCustomLib = lib.extend (final: prev: {
|
|
||||||
# ...
|
# ...
|
||||||
});
|
});
|
||||||
myCustomLibForNixvim = myCustomLib.extend inputs.nixvim.lib.overlay;
|
myCustomLibForNixvim = myCustomLib.extend inputs.nixvim.lib.overlay;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue