kitten icon indicating copy to clipboard operation
kitten copied to clipboard

Prelude not installed by stack install

Open sullyj3 opened this issue 7 years ago • 2 comments

When running kitten from outside of the source directory, importing prelude fails.

james@letian ~/D/kitten> stack build
james@letian ~/D/kitten> stack install
Copying from /home/james/Downloads/kitten/.stack-work/install/x86_64-linux-ncurses6/lts-5.9/7.10.3/bin/kitten to /home/james/.local/bin/kitten
Copying from /home/james/Downloads/kitten/.stack-work/install/x86_64-linux-ncurses6/lts-5.9/7.10.3/bin/mini to /home/james/.local/bin/mini

Copied executables to /home/james/.local/bin/:
- kitten
- mini
james@letian ~/D/kitten> echo $fish_user_paths 
/home/james/go/bin /home/james/.local/bin /home/james/.fzf/bin /usr/bin /usr/bin/site_perl /usr/bin/vendor_perl /usr/bin/core_perl /home/james/.cabal/bin /home/james/.npm-global/bin
james@letian ~/D/kitten> kitten
Welcome to Kitten!
Type ':help' for help or ':quit' to quit.
  1 >>> 
james@letian ~/D/kitten> cd
james@letian ~> kitten
Welcome to Kitten!
Type ':help' for help or ':quit' to quit.
:1:1: error: missing import 'Prelude'
  1 >>> 

sullyj3 avatar May 20 '17 09:05 sullyj3

Upon investigation, Judging by this, this is maybe a dup of #158?

sullyj3 avatar May 20 '17 20:05 sullyj3

That’s the old compiler you’re running, but yeah, it should still be an issue with the new one, so it needs to be fixed. (Not a dup.)

evincarofautumn avatar May 21 '17 04:05 evincarofautumn