-
Notifications
You must be signed in to change notification settings - Fork 107
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
Installing Obelisk fails with SIGSEGV (Segfault) #1066
Comments
Some Context:
I am on Arch Linux |
Huh, that's likely a problem with your nix installation.
If that fails, then update your channel in case it's a bug that's been fixed upstream. |
Thanks for the advice. I tried updating the channel, wiping and re-installing nix. Problem persists. Btw, building other applications works:
|
Another thing I tried:
How can I find out, what actually causes the error? Can I somehow get more output? |
Well, that didn't build the package as it was fetched from You can also try building a trivial haskell program
Maybe |
I had exactly the same issue as @EsGeh. I installed nix via pacman on arch linux today and when trying to install obelisk I got exactly the same error. Since I installed nix on another arch linux computer via pacman some time ago and had no problems with it (although I did not install obelisk then) and since this issue popped up just a few days ago there might just be something wrong with the most recent change in the nix package for arch linux which is from May 11th. |
As nix newbie, I've been struggling with your explanation on how to build
This succeeds. On the original Problem, adding
Since building other packages work, it seems the problem comes from the obelisk nix expression or maybe a bug in nix that the obelisk package reveals. Next thing one could try isolating the problem by selectively uncommenting parts in the Really frustrating. A segfault? seriously? |
I don’t think this is any consolidation or help right now, but I now a lot of Nix power users and while they complain a lot about Nix, recurring segfaults is not a problem I hear about. So hopefully this is the exception and not the rule. While I have no real clue about the problem at hand, the recommendation to bypass pacman and installing nix manually sounds kinda reasonable. At least it helps for other Haskell+Arch related problems.^^ |
Oh my bad, that was meant to be run from the root of this repo, since
Don't think I've hit one of these myself in years of using nix. In fact, the greatest recurring problem of "X isn't working for me" I've seen around this ecosystem tends to derive from installing nix itself, since you can't use nix for that. |
Problem
Following the README trying to install obelisk fails with SEGV
Steps to reproduce
Follow the README (how to install nix) up to step 3. It fails:
Remarks
I am new to nix and obelisk.
The text was updated successfully, but these errors were encountered: