vimPlugins.statix: init at 0.1.0

This commit is contained in:
figsoda
2021-10-29 11:16:11 -04:00
parent 072b073309
commit cf5da07395
+12
View File
@@ -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