nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 31 lines 650 B view raw
1{ 2 lib, 3 vimUtils, 4 vim-full, 5 vimPlugins, 6}: 7let 8 inherit (vimUtils) buildVimPlugin; 9 10 packages.myVimPackage.start = with vimPlugins; [ vim-nix ]; 11 12in 13lib.recurseIntoAttrs { 14 vim_empty_config = vimUtils.vimrcFile { 15 beforePlugins = ""; 16 customRC = ""; 17 }; 18 19 ### vim tests 20 ################## 21 22 test_vim_with_vim_nix_using_plug = vim-full.customize { 23 name = "vim-with-vim-addon-nix-using-plug"; 24 vimrcConfig.plug.plugins = with vimPlugins; [ vim-nix ]; 25 }; 26 27 test_vim_with_vim_nix = vim-full.customize { 28 name = "vim-with-vim-addon-nix"; 29 vimrcConfig.packages.myVimPackage.start = with vimPlugins; [ vim-nix ]; 30 }; 31}