-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
Try to fix the pixbuf problem. #109
Conversation
I do not think this will help for NixOS/nixpkgs#54278. The issue is caused by mismatch between the gdk-pixbuf the project is linked against and the loaders picked up from |
Right, you are overriding the You could try to set it manually but I would just suggest to rely on the default builder. Something like dontBuild = true;
unpackPhase = ":";
installPhase = ''
runHook preInstall
mkdir -p $out/bin
ln -sf ${env}/bin/termonad $out/bin/termonad
runHook postInstall
''; instead of the |
There is also some kind of interaction between setup hooks and cross-compilation offsets making the example above no work: NixOS/nixpkgs#56943 |
@jtojnar Thanks for the info! That is very helpful. @craigem @romanofski I added an additional commit to this PR (0846a8f) fixing up the build as suggested by @jtojnar. Could you try it out and see if it fixes your problem with Termonad segfaulting? |
Seems to be working for me. I tried c1d136b and yep, still segfaults. So 0846a8f seems to do the trick. Is this a workaround until NixOS/nixpkgs#56943 is fixed? |
The |
Okay, since this seems to be working, I will go ahead and merge it in. @romanofski Thanks for your help with trying out various things. I'm glad we finally got this working for you. @jtojnar Thanks for the suggestion to stop overriding the builder! |
Try to fix the pixbuf problem from #107.