Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 139 lines 5.4 kB view raw
1# Deprecated aliases - for backward compatibility 2 3lib: overriden: 4 5with overriden; 6 7let 8 # Removing recurseForDerivation prevents derivations of aliased attribute 9 # set to appear while listing all the packages available. 10 removeRecurseForDerivations = alias: with lib; 11 if alias.recurseForDerivations or false then 12 removeAttrs alias ["recurseForDerivations"] 13 else alias; 14 15 # Disabling distribution prevents top-level aliases for non-recursed package 16 # sets from building on Hydra. 17 removeDistribute = alias: with lib; 18 if isDerivation alias then 19 dontDistribute alias 20 else alias; 21 22 # Make sure that we are not shadowing something from 23 # all-packages.nix. 24 checkInPkgs = n: alias: if builtins.hasAttr n overriden 25 then throw "Alias ${n} is still in vim-plugins" 26 else alias; 27 28 mapAliases = aliases: 29 lib.mapAttrs (n: alias: removeDistribute 30 (removeRecurseForDerivations 31 (checkInPkgs n alias))) 32 aliases; 33in 34 35mapAliases { 36 airline = vim-airline; 37 alternative = a-vim; # backwards compat, added 2014-10-21 38 bats = bats-vim; 39 calendar = calendar-vim; 40 coffee-script = vim-coffee-script; 41 coffeeScript = vim-coffee-script; # backwards compat, added 2014-10-18 42 Solarized = vim-colors-solarized; 43 solarized = vim-colors-solarized; 44 colors-solarized = vim-colors-solarized; 45 caw = caw-vim; 46 colorsamplerpack = Colour-Sampler-Pack; 47 Colour_Sampler_Pack = Colour-Sampler-Pack; 48 command_T = command-t; # backwards compat, added 2014-10-18 49 commentary = vim-commentary; 50 committia = committia-vim; 51 concealedyank = concealedyank-vim; 52 context-filetype = context_filetype-vim; 53 Cosco = cosco-vim; 54 css_color_5056 = vim-css-color; 55 CSApprox = csapprox; 56 csv = csv-vim; 57 ctrlp = ctrlp-vim; 58 cute-python = vim-cute-python; 59 denite = denite-nvim; 60 easy-align = vim-easy-align; 61 easygit = vim-easygit; 62 easymotion = vim-easymotion; 63 echodoc = echodoc-vim; 64 eighties = vim-eighties; 65 extradite = vim-extradite; 66 fugitive = vim-fugitive; 67 ghc-mod-vim = ghcmod-vim; 68 ghcmod = ghcmod-vim; 69 goyo = goyo-vim; 70 Gist = gist-vim; 71 gitgutter = vim-gitgutter; 72 gundo = gundo-vim; 73 Gundo = gundo-vim; # backwards compat, added 2015-10-03 74 haskellConceal = vim-haskellconceal; # backwards compat, added 2014-10-18 75 haskellConcealPlus = vim-haskellConcealPlus; 76 haskellconceal = vim-haskellconceal; 77 hier = vim-hier; 78 hlint-refactor = hlint-refactor-vim; 79 hoogle = vim-hoogle; 80 Hoogle = vim-hoogle; 81 ipython = vim-ipython; 82 latex-live-preview = vim-latex-live-preview; 83 maktaba = vim-maktaba; 84 multiple-cursors = vim-multiple-cursors; 85 necoGhc = neco-ghc; # backwards compat, added 2014-10-18 86 neocomplete = neocomplete-vim; 87 neoinclude = neoinclude-vim; 88 neomru = neomru-vim; 89 neosnippet = neosnippet-vim; 90 The_NERD_Commenter = nerdcommenter; 91 The_NERD_tree = nerdtree; 92 open-browser = open-browser-vim; 93 pathogen = vim-pathogen; 94 polyglot = vim-polyglot; 95 prettyprint = vim-prettyprint; 96 quickrun = vim-quickrun; 97 rainbow_parentheses = rainbow_parentheses-vim; 98 repeat = vim-repeat; 99 riv = riv-vim; 100 rhubarb = vim-rhubarb; 101 sensible = vim-sensible; 102 signature = vim-signature; 103 snipmate = vim-snipmate; 104 sourcemap = sourcemap-vim; 105 "sourcemap.vim" = sourcemap-vim; 106 surround = vim-surround; 107 sleuth = vim-sleuth; 108 solidity = vim-solidity; 109 stylish-haskell = vim-stylish-haskell; 110 stylishHaskell = vim-stylish-haskell; # backwards compat, added 2014-10-18 111 Supertab = supertab; 112 Syntastic = syntastic; 113 SyntaxRange = vim-SyntaxRange; 114 table-mode = vim-table-mode; 115 taglist = taglist-vim; 116 tabpagebuffer = tabpagebuffer-vim; 117 tabpagecd = vim-tabpagecd; 118 Tabular = tabular; 119 Tagbar = tagbar; 120 thumbnail = thumbnail-vim; 121 tlib = tlib_vim; 122 tmux-navigator = vim-tmux-navigator; 123 tmuxNavigator = vim-tmux-navigator; # backwards compat, added 2014-10-18 124 tslime = tslime-vim; 125 unite = unite-vim; 126 UltiSnips = ultisnips; 127 vim-addon-vim2nix = vim2nix; 128 vimproc = vimproc-vim; 129 vimshell = vimshell-vim; 130 vinegar = vim-vinegar; 131 watchdogs = vim-watchdogs; 132 WebAPI = webapi-vim; 133 wombat256 = wombat256-vim; # backwards compat, added 2015-7-8 134 yankring = YankRing-vim; 135 Yankring = YankRing-vim; 136 YouCompleteMe = youcompleteme; 137 xterm-color-table = xterm-color-table-vim; 138 zeavim = zeavim-vim; 139}