mirror of
https://github.com/nix-community/nixvim.git
synced 2026-08-24 02:34:15 -05:00
modules/nixpkgs: import libForPkgs correctly
This commit is contained in:
@@ -21,7 +21,7 @@ let
|
||||
if opt.source.highestPrio == optionDefaultPrio then
|
||||
lib
|
||||
else
|
||||
cfg.source.lib or (import cfg.source + "/lib");
|
||||
cfg.source.lib or (import (cfg.source + "/lib"));
|
||||
|
||||
isConfig = x: builtins.isAttrs x || lib.isFunction x;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user