nixos 17.09
尼克斯17.09
Installing haskell-vim-now as suggested here
按照此处的建议安装haskell-vim-now
bash <(curl -sL https://git.io/haskell-vim-now) --nix
bash <(curl -sL https://git.io/haskell-vim-now) - nix
Output puzzles me:
输出困惑我:
--- 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...
Why script doesn't see stack?
为什么脚本看不到堆栈?
[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
Thank you in advance!
先谢谢你!
1 个解决方案
#1
0
Another way of installing haskell-vim-now in nixos works for me:
在nixos中安装haskell-vim-now的另一种方法适用于我:
bash <(curl -sL https://git.io/haskell-vim-now) --basic
export PATH=$HOME/.local/bin:$PATH
stack install codex hscope ghc-mod hasktags hoogle --nix
#1
0
Another way of installing haskell-vim-now in nixos works for me:
在nixos中安装haskell-vim-now的另一种方法适用于我:
bash <(curl -sL https://git.io/haskell-vim-now) --basic
export PATH=$HOME/.local/bin:$PATH
stack install codex hscope ghc-mod hasktags hoogle --nix