Re: [Nix-dev] Vim setup for Haskell
Thanks for describing your setup! The idea behind 'hvim' is to have a single package which installs vim with some stuff that is helpful for Haskell development, without having to understand how nixos or vimrc work. Especially it should allow to distribute adjusted or modified programs and plugins which work together nicely. E.g. I tried to wrap hdevtools so that it finds the installed Haskell packages automatically, and maybe ghc-mod needs some adjustments as well. I know about your vim-addon-manager project and your maintained collection of vim plugins for nix**. I think it would be great if the vim plugins that are used in hvim could be integrated into pkgs/misc/vim-plugins/default.nix. That would allow to simplify what I've tried to achieve within install.sh Best wishes, Thomas On 08/04/2014 05:06 AM, Marc Weber wrote: I personally use nixpkgs-haskell-overlay and vim-addon-haskell which can run cabal. The nixpkgs-haskell-overlay implementation is prototype implementation (see wiki) and can tag haskell sources (using hasktags). You then source an env var which sets an environment var pointing to tag files. There are alternative solutions, too Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Vim setup for Haskell
Excerpts from Thomas Strobel's message of Mon Aug 04 07:09:11 + 2014: The idea behind 'hvim' is to have a single package which installs vim with some stuff that is helpful for Haskell development, without having to understand how nixos or vimrc work. Learning Vim take so much time that unerstanding .vimrc is trivial, sry. For that reason that is your way, but not mine .. Especially it should allow to distribute adjusted or modified programs and plugins which work together nicely. I know about your vim-addon-manager project and your maintained collection of vim plugins for nix**. No, I don't maintain it. I just tried to get the basics right, so that people who would have added vim stuff anyway get it right. In fact I think there is one thing missing to have a perfect software distribution: Authors taking care themselves. VAM is in maintainance mode for two reasons: - there will be neovimm - I'll be creating this as soon as I have time: https://github.com/code-once/ypm The idea I want to explore is whether it is possible to create a huge database with recipes so that you can turn those cross language recipes into .nix derivation or *any distro package specification* automatcially. Eg updating kde/xorg/gnome is always a lot of work. That's why I want to fix this once and forall. Eg there are combinations Vim Ocaml YouCompleteMe which requires recompliing vim (with py support) and running ocamlopt to get a working setup. VAM will never be up to that task. Thus if you like idea behind YPM or want to sponsor it just star it or let me know :) Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
[Nix-dev] Vim setup for Haskell
Hi, I've tried to pack/integrate VIM with plugins/programs that help with Haskell development. I would be very thankful for feedback and help with integrating it properly into NIX-OS. Many thanks, Thomas hvim.tar.bz2 Description: Binary data ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev
Re: [Nix-dev] Vim setup for Haskell
I personally use nixpkgs-haskell-overlay and vim-addon-haskell which can run cabal. The nixpkgs-haskell-overlay implementation is prototype implementation (see wiki) and can tag haskell sources (using hasktags). You then source an env var which sets an environment var pointing to tag files. There are alternative solutions, too Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev