From 45c6864207bc1c900b6c30457c90a5d426dcdfb7 Mon Sep 17 00:00:00 2001 From: Linnnus Date: Fri, 27 Oct 2023 20:16:28 +0200 Subject: home/neovim: Move plugins into pkgs/ + add vim-crystal --- pkgs/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'pkgs/default.nix') diff --git a/pkgs/default.nix b/pkgs/default.nix index d88db10..2953063 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -8,4 +8,13 @@ pkgs: { trash = pkgs.callPackage ./trash {}; mcping = pkgs.callPackage ./mcping {}; + + # TODO: These should be contained in the 'vimPlugins' attrset. This turns out + # to be non-trivial because this module is both consumed in a flake output + # context and an overlay context. + # + # See: https://nixos.wiki/wiki/Overlays#Overriding_a_package_inside_an_extensible_attribute_set + vim-crystal = pkgs.callPackage ./vim-crystal {}; + vim-noweb = pkgs.callPackage ./vim-noweb {}; + vim-janet = pkgs.callPackage ./vim-janet {}; } -- cgit v1.2.3