Conversation
vcunat
left a comment
There was a problem hiding this comment.
I'm not sure if it's just me, but rendered text looks like unreadable noise instead.
(as for the review comments) Here I was thinking I could get away with a perfect PR this time around, but alas; fixed it now :P [Now for the obligatory ping in case GitHub decides sending notifications is bad: @vcunat] |
|
I wonder if this log is related to the noise: Anyway, I suggest you try the commit atop current nixpkgs master as well. |
This is an older version of the SDL2_ttf derivation needed for `linthesia` to run properly. I don't know why a minor version change broke things (2.0.15 -> 2.0.18) but it did and this fixes that without disrupting other packages.
Rebasing reproduced your screenshot instantly and the culprit appears to be #154827 as reverting that commit fixes it, haven't pushed the revert since I can't reproduce this issue on any other dependants of |
vcunat
left a comment
There was a problem hiding this comment.
OK, assuming it work well for you overall.
|
Have you contacted upstream about compatibility with SDL_ttf 2.0.18? Unless it is NixOS-specific problem with its integration, I don't think rushing inclusion of linthesia with SDL_ttf 2.0.15 is the right thing to do here and linthesia should be fixed instead. |
|
(@McSinyx)
Nope.
It's not perfect but it is functional and pretty easily removed once upstream figures their stuff out. I'm not in the mood to start recursing into this problem much since I'm like halfway-burnt-out and we do this kind of thing in nixpkgs a lot already. Waiting until code is perfect is not a viable approach for large projects like this where PRs that are open for a while inevitably start getting conflicts, missing out on treewide changes, etc. Dependencies do make major changes in minor bumps and we just have to deal with that as downstream consumers. |
|
I believe it's OK to merge this makeshift solution. |
| nativeBuildInputs = [ pkg-config ]; | ||
|
|
||
| buildInputs = [ SDL2 freetype libGL ] | ||
| ++ lib.optional stdenv.isDarwin darwin.libobjc; |
There was a problem hiding this comment.
darwin shouldn't be used as an input like pkgs.
There was a problem hiding this comment.
I agree, but that's a problem in the SDL2_ttf expressions, in both versions. Not really in this PR.



Motivation for this change
Playing piano better!
Things done
sandbox = trueset 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.shto update generated release notes