diff options
author | Timo Kaufmann <timokau@zoho.com> | 2018-12-31 12:34:46 +0100 |
---|---|---|
committer | Timo Kaufmann <timokau@zoho.com> | 2019-01-18 21:18:35 +0100 |
commit | 2bc0e00372b60eeb80797f193f6a963ce10a0516 (patch) | |
tree | df15c5ee0078989aaeb216e26d5b391bb8c91c69 /pkgs | |
parent | ab22e8cc9c8f667c09f54f82fcb88f9732c54dfc (diff) | |
download | nixlib-2bc0e00372b60eeb80797f193f6a963ce10a0516.tar nixlib-2bc0e00372b60eeb80797f193f6a963ce10a0516.tar.gz nixlib-2bc0e00372b60eeb80797f193f6a963ce10a0516.tar.bz2 nixlib-2bc0e00372b60eeb80797f193f6a963ce10a0516.tar.lz nixlib-2bc0e00372b60eeb80797f193f6a963ce10a0516.tar.xz nixlib-2bc0e00372b60eeb80797f193f6a963ce10a0516.tar.zst nixlib-2bc0e00372b60eeb80797f193f6a963ce10a0516.zip |
vimUtils.buildVimPlugin: write vim errors to stderr
Previously vim would silently fail when help tags couldn't be generated. We need to pass the "verbose" flag (with verbose level 1) to convince vim to print errors to standard error.
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/misc/vim-plugins/build-vim-plugin.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/misc/vim-plugins/build-vim-plugin.nix b/pkgs/misc/vim-plugins/build-vim-plugin.nix index fe60ad21c752..b797f49df9e0 100644 --- a/pkgs/misc/vim-plugins/build-vim-plugin.nix +++ b/pkgs/misc/vim-plugins/build-vim-plugin.nix @@ -37,7 +37,7 @@ rec { # build help tags if [ -d "$target/doc" ]; then echo "Building help tags" - if ! ${vim}/bin/vim -N -u NONE -i NONE -n -E -s -c "helptags $target/doc" +quit!; then + if ! ${vim}/bin/vim -N -u NONE -i NONE -n -E -s -V1 -c "helptags $target/doc" +quit!; then echo "Failed to build help tags!" exit 1 fi |