Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stack build error - Control.Exception.Safe.throwString called with: In Nix shell but reExecL is False #5007

Closed
freeman42x opened this issue Aug 18, 2019 · 2 comments

Comments

@freeman42x
Copy link

Steps to reproduce

Expected

Build to succeed.

Actual

[nix-shell:~/Forks/snowdrift]$ stack build --verbose
2.1.3.1 x86_64 hpack-0.31.2
2019-08-18 15:45:29.327390: [debug] Checking for project config at: /home/neo/Forks/snowdrift/stack.yaml
2019-08-18 15:45:29.327711: [debug] Loading project config file stack.yaml
2019-08-18 15:45:29.339178: [debug] SELECT COUNT(*) FROM "last_performed" WHERE ("action"=?) AND ("timestamp">=?); [PersistInt64 1,PersistUTCTime 2019-08-17 14:45:29.339095207 UTC]
2019-08-18 15:45:29.339902: [error] Control.Exception.Safe.throwString called with:

In Nix shell but reExecL is False
Called from:
  throwString (src/Stack/Runners.hs:120:18 in stack-2.1.3.1-2lYINbBdWF26UO6aV9Sj15:Stack.Runners)

Stack version

$ stack --version
2.1.3.1 x86_64 hpack-0.31.2

Method of installation

Installed with Nix via nix-shell for the shell.nix

@mattaudesse
Copy link
Member

Thanks @razvan-panda.

Just a note: we're tracking a related issue on #5000 .

@freeman42x
Copy link
Author

Same issue: #5000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants