This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** @jsx React.DOM */ | |
| var React = require('react'); | |
| module.exports = React.createClass({ | |
| componentDidMount: function() { | |
| console.log('Yeah component mounted'); | |
| }, | |
| render: function() { | |
| return <div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env nix-shell | |
| #!nix-shell -i runghc -p "haskellPackages.ghcWithPackages (pkgs: with pkgs; [regex-compat split time])" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { pkgs }: | |
| let | |
| vimrc = import ./vimrc.nix {}; | |
| customPlugins = import ./vimPlugins.nix {}; | |
| in | |
| ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| myVim = self.vim_configurable.customize { | |
| name = "vim"; | |
| vimrcConfig = { | |
| customRC = '' | |
| source $HOME/.vimrc | |
| ''; | |
| vam.pluginDictionaries = [ | |
| { names = [ "YouCompleteMe" "UltiSnips" ]; } | |
| ]; | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| allowBroken = true; | |
| allowUnfree = true; | |
| vim = { | |
| gui = "macvim"; | |
| }; | |
| packageOverrides = super: let self = super.pkgs; in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| vimEnv = with self.pkgs; buildEnv { | |
| name = "vim-env"; | |
| paths = [ | |
| (stdenv.lib.overrideDerivation vimNox (oldAttrs: { | |
| name = "vim_configurable-7.4.712"; | |
| src = fetchurl { | |
| url = "http://mirrors.kernel.org/debian/pool/main/v/vim/vim_7.4.712.orig.tar.gz"; | |
| sha256 = "0p5mcr5402d3vxy3wv5q6qbhd23b4kzffifgkz90bil2csgvld5k"; | |
| }; | |
| patches = [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This does now work: | |
| vimEnv = with self.pkgs; buildEnv { | |
| name = "vim-env"; | |
| paths = [ | |
| (vimNox.override { | |
| 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"; | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| neoVimEnv = with self.pkgs; buildEnv { | |
| name = "neovim-env"; | |
| paths = [ | |
| (neovim.override { | |
| configure = { | |
| customRC = '' | |
| source $HOME/.nvimrc | |
| ''; | |
| vam.pluginDictionaries = [ | |
| { names = [ "YouCompleteMe" "UltiSnips" ]; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { stdenv, fetchgit }: | |
| stdenv.mkDerivation { | |
| name = "UltiSnips-2015-06-11"; | |
| src = fetchgit { | |
| url = "git://github.com/sirver/ultisnips"; | |
| rev = "c3a0924b777dbba2f8612950bd8f8a00df18d1bf"; | |
| sha256 = "7ad0e5dc8e8713db38ef2875e5d512e6cf8ef3dd7885ce12aff22052da780593"; | |
| }; | |
| dependencies = []; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| myVim = 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.patch | |
| ]; | |
| }); |