Skip to content

Instantly share code, notes, and snippets.

@codedmart
Last active August 29, 2015 14:23
Show Gist options
  • Select an option

  • Save codedmart/89dc06a541d6f33e255d to your computer and use it in GitHub Desktop.

Select an option

Save codedmart/89dc06a541d6f33e255d to your computer and use it in GitHub Desktop.
{
allowBroken = true;
allowUnfree = true;
vim = {
gui = "macvim";
};
packageOverrides = super: let self = super.pkgs; in
rec {
# Vim
vimEnv =
let vim = self.stdenv.lib.overrideDerivation self.vimNox (oldAttrs: {
name = "vim_configurable-7.4.712";
src = self.fetchurl {
url = "http://mirrors.kernel.org/debian/pool/main/v/vim/vim_7.4.712.orig.tar.gz";
sha256 = "0p5mcr5402d3vxy3wv5q6qbhd23b4kzffifgkz90bil2csgvld5k";
};
patches = [
./vimNox/python_framework_new.patch
];
});
in vim.customize {
vimrcConfig.customRC = ''
source $HOME/.vimrc
'';
vimrcConfig.vam.pluginDictionaries = [
{ names = [ "YouCompleteMe" "UltiSnips" ]; }
];
};
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment