Last active
August 29, 2015 14:23
-
-
Save codedmart/e6e83a4507d3899bb78b to your computer and use it in GitHub Desktop.
This file contains 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"; | |
}; | |
patches = [ | |
./vimNox/python_framework_new.patch | |
]; | |
configure = { | |
customRC = '' | |
source $HOME/.vimrc | |
''; | |
vam.pluginDictionaries = [ | |
{ names = [ "YouCompleteMe" "UltiSnips" ]; } | |
]; | |
}; | |
}) | |
]; | |
}; | |
# This does work but without the plugins | |
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_new.patch | |
]; | |
}); |
This file contains 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
os_unix.c:833:46: warning: declaration of 'struct sigaltstack' will not be visible outside of this function [-Wvisibility] | |
extern int sigaltstack __ARGS((const struct sigaltstack *ss, struct sigaltstack *oss)); | |
^ | |
./os_unix.h:88:21: note: expanded from macro '__ARGS' | |
# define __ARGS(x) x | |
^ | |
os_unix.c:833:13: error: conflicting types for 'sigaltstack' | |
extern int sigaltstack __ARGS((const struct sigaltstack *ss, struct sigaltstack *oss)); | |
^ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/signal.h:87:5: note: previous declaration is here | |
int sigaltstack(const stack_t * __restrict, stack_t * __restrict) __DARWIN_ALIAS(sigaltstack); | |
^ | |
1 warning and 1 error generated. | |
Makefile:2638: recipe for target 'objects/os_unix.o' failed | |
make[1]: *** [objects/os_unix.o] Error 1 | |
make[1]: *** Waiting for unfinished jobs.... | |
2 warnings generated. | |
make[1]: Leaving directory '/private/var/folders/8w/n_txhbn945j9gxp6bz2nhkhr0000gn/T/nix-build-vim_configurable-7.4.516.drv-0/nix_repository_manager/src' | |
Makefile:26: recipe for target 'first' failed | |
make: *** [first] Error 2 | |
builder for ‘/nix/store/nzq80i8zyfqgzss7gnp30rqpqsk1mbkf-vim_configurable-7.4.516.drv’ failed with exit code 2 | |
cannot build derivation ‘/nix/store/vx8s0250hf55hq9rbzlj6brfbkgq2006-vim-env.drv’: 1 dependencies couldn't be built | |
error: build of ‘/nix/store/vx8s0250hf55hq9rbzlj6brfbkgq2006-vim-env.drv’ failed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment