evincarofautumn / kitten

A statically typed concatenative systems programming language.
http://kittenlang.org/
Other
1.1k stars 39 forks source link

Prelude not installed by stack install #175

Open sullyj3 opened 7 years ago

sullyj3 commented 7 years ago

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 commented 7 years ago

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

evincarofautumn commented 7 years ago

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.)