Skip to content

Commit

Permalink
Replace import with callPackage
Browse files Browse the repository at this point in the history
  • Loading branch information
sestrella committed Jul 4, 2023
1 parent 44a8586 commit 80ac51f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions home/neovim.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
args@{ config, pkgs, ... }:
{ config, pkgs, ... }:

{
programs.neovim = {
Expand All @@ -14,7 +14,7 @@ args@{ config, pkgs, ... }:
pkgs.yaml-language-server
];
extraLuaConfig = builtins.readFile ./neovim/extra-config.lua;
plugins = builtins.concatMap (plugin: import plugin args) [
plugins = builtins.concatMap (plugin: pkgs.callPackage plugin { }) [
./neovim/plugins/auto-dark-mode.nix
./neovim/plugins/cmp.nix
./neovim/plugins/comment.nix
Expand Down

0 comments on commit 80ac51f

Please sign in to comment.