-
Notifications
You must be signed in to change notification settings - Fork 142
Open
Description
Steps I took to build Eta on NixOS 17.03:
- Clone repo recursively, check out
0.0.6b6 nix-shell -A eta-build-shelletlas update
So far, everything worked fine.
- Now I created a
helloworldproject (mkdir helloworld && cd helloworld && etlas init) etlas buildfails with the following error:src/Main.hs:1:1: Could not find module ‘Prelude’ Use -v to see a list of the files searched for.- The same error occurs when directly invoking
eta src/Main.hs etlas install --dependencies-onlysays:Resolving dependencies... All the requested packages are already installed: Use --reinstall if you want to reinstall anyway.
After trying to re-build Eta several times, I found out the following:
- Eta seems to search for a
packages.conf.dwith apackages.cachein~/.eta. - Immediately when entering the nix shell,
~/.eta/packages.conf.d(in fact~/.eta) seems to be missing. - After running
eta(oretlas build), the directory and apackages.cacheis created, but the core libraries are missing, hence the »missing Prelude«.
Creating a sandbox (etlas sandbox init) does not help either.
Did I miss some step? Or is the Nix shell currently broken?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels