diff --git a/pkgs/misc/vim-plugins/overrides.nix b/pkgs/misc/vim-plugins/overrides.nix index cc12ff401fae..1d415919070f 100644 --- a/pkgs/misc/vim-plugins/overrides.nix +++ b/pkgs/misc/vim-plugins/overrides.nix @@ -30,6 +30,7 @@ , nodePackages , skim , sqlite +, statix , stylish-haskell , tabnine , vim @@ -527,6 +528,17 @@ self: super: { ''; }); + statix = buildVimPluginFrom2Nix { + inherit (statix) pname src meta; + version = "0.1.0"; + dependencies = with self; [ statix ]; + postPatch = '' + cd vim-plugin + substituteInPlace ftplugin/nix.vim --replace statix ${statix}/bin/statix + substituteInPlace plugin/statix.vim --replace statix ${statix}/bin/statix + ''; + }; + sved = let # we put the script in its own derivation to benefit the magic of wrapGAppsHook