nixos 17.09
按照建议here
安装haskell-vim-nowbash<(curl -sL https://git.io/haskell-vim-now) - nix
输出让我感到困惑:
--- Creating vim config symlinks
~/.vimrc -> /home/tort/.config/haskell-vim-now/.vimrc
~/.vim -> /home/tort/.config/haskell-vim-now/.vim
--- Installing plugins using vim-plug...
HvnArgs {hvnArgsNoHoogleDb = False, hvnArgsNoHelperBinaries = False}
Setting up GHC if needed...
/bin/sh: stack: command not found
Stack setup failed with error 127
*** setup_haskell.hs failed with error 1.
*** Aborting...
为什么脚本没有看到堆栈?
[host@host:~]$ which stack
/home/tort/.nix-profile/bin/stack
[host@host:~]$ nix-env -q '.*stack.*'
stack-1.5.1
stack2nix-0.1.3.0
提前谢谢!
答案 0 :(得分:0)
在nixos中安装haskell-vim-now的另一种方法适用于我:
a_function_static.1800