Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ vimUtils, vim-full, writeText, vimPlugins 2, lib, fetchFromGitHub 3, pkgs 4}: 5let 6 inherit (vimUtils) buildVimPluginFrom2Nix; 7 8 packages.myVimPackage.start = with vimPlugins; [ vim-nix ]; 9 10in 11 pkgs.recurseIntoAttrs (rec { 12 vim_empty_config = vimUtils.vimrcFile { beforePlugins = ""; customRC = ""; }; 13 14 ### vim tests 15 ################## 16 17 test_vim_with_vim_nix_using_plug = vim-full.customize { 18 name = "vim-with-vim-addon-nix-using-plug"; 19 vimrcConfig.plug.plugins = with vimPlugins; [ vim-nix ]; 20 }; 21 22 test_vim_with_vim_nix = vim-full.customize { 23 name = "vim-with-vim-addon-nix"; 24 vimrcConfig.packages.myVimPackage.start = with vimPlugins; [ vim-nix ]; 25 }; 26})