stb: 0-unstable-2023-01-29 -> 0-unstable-2025-10-26#491159
Conversation
Update all dependent packages
| }: | ||
|
|
||
| stdenv.mkDerivation (finalAttrs: { | ||
| pname = "stb_2023"; |
There was a problem hiding this comment.
| pname = "stb_2023"; | |
| pname = "stb"; |
|
Is there any reason to leave the old version around? Do things not build with newer ones? |
courtesy of @andir |
Gamescope pins the old version before |
andir
left a comment
There was a problem hiding this comment.
Looks good to me. Full rebuild of the affected packages didn't yield any new failures and the binaries still seem to run.
|
OK so we're down to two packages. Can we patch them instead of vendoring an old stb? |
|
Somewhat unrelated to this PR, but a good follow-up: |
|
For someone who is interested to make projects using old image_resize compatible with image_resize2, I found that in an older version of |
Adds a patch that supports both the old stb_image_resize.h and the new stb_image_resize2.h using __has_include for compile-time detection. This prepares gamescope for the upcoming stb update (NixOS#491159) which removes stb_image_resize.h in favor of stb_image_resize2.h. Tested against both old stb (0-unstable-2023-01-29) and new stb (0-unstable-2025-10-25) on x86_64-linux. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Adds a patch that supports both the old stb_image_resize.h and the new stb_image_resize2.h using __has_include for compile-time detection. This prepares gamescope for the upcoming stb update (NixOS#491159) which removes stb_image_resize.h in favor of stb_image_resize2.h. Tested against both old stb (0-unstable-2023-01-29) and new stb (0-unstable-2025-10-25) on x86_64-linux and aarch64-linux. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Pulls in a pending upstream patch (ValveSoftware/gamescope#2130) that supports both the old stb_image_resize.h and the new stb_image_resize2.h using __has_include for compile-time detection. This prepares gamescope for the upcoming stb update (NixOS#491159) which removes stb_image_resize.h in favor of stb_image_resize2.h. Tested against both old stb (0-unstable-2023-01-29) and new stb (0-unstable-2025-10-25) on x86_64-linux and aarch64-linux. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Pulls in a pending upstream patch (ValveSoftware/gamescope#2130) that supports both the old stb_image_resize.h and the new stb_image_resize2.h using __has_include for compile-time detection. This prepares gamescope for the upcoming stb update (NixOS#491159) which removes stb_image_resize.h in favor of stb_image_resize2.h. Tested against both old stb (0-unstable-2023-01-29) and new stb (0-unstable-2025-10-25) on x86_64-linux and aarch64-linux. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
The gamescope package has been patched in #506565 |

Things done
Update std to current master
Added myself to maintainer
Built on platform:
Tested, as applicable:
passthru.tests.Ran
nixpkgs-reviewon this PR. See nixpkgs-review usage.Tested basic functionality of all binary files, usually in
./result/bin/.Nixpkgs Release Notes
NixOS Release Notes
Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.