-
-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
kitty: add patch to fix -stack_size flag issue on darwin #166661
Conversation
I'm currently having some issues with a test or two failing on Darwin (now that the build can get that far), but I decided to go ahead and open this PR anyways, to see if @ofborg runs into the same issue, or if it's something about my local system. |
Interesting, @ofborg didn't have any issues. This is what was giving me trouble (with sandboxing enabled):
(Without sandboxing I was getting an error caused by something related to my Fish shell config.) I'm going to push an update with a short comment with some context about the patch. I'd be happy to merge after that. |
5c1af0f
to
c32aedf
Compare
KovidGoyal made a patch to fix the issue kovidgoyal/kitty@57cffc7 so please fetchpatch it He's very fast |
c32aedf
to
4051c63
Compare
You forgot to remove the patch file. |
4051c63
to
49f75b1
Compare
Good catch :) Removed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Description of changes
Kitty is currently failing to build on Darwin systems with the following error:
This started to happen when #157775 landed on
master
, in particular c7c3187.Initially I had thought that reverting that commit would be the right solution (#166516) however, upon further investigation it really does seem like most builds of Python 3 on Darwin includeWl,-stack_size,1000000
inLINKFORSHARED
, as such Python 3 innixpkgs
should do the same, and the issue should be fixed upstream. More here on that here: kovidgoyal/kitty#289 (comment).A patch has been committed upstream to resolve this issue: kovidgoyal/kitty@57cffc7. This PR adds that patch.
Closes #165387.
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes