Repository navigation
[Backport staging-25.11] sdl3: fix dynamic loading of vulkan - #479065
Merged
Merged
Conversation
Vulkan support broke after NixOS#439652 due to libsdl-org/SDL#14805. Fixes: NixOS#478908 Signed-off-by: Marcin Serwin <[email protected]> (cherry picked from commit f91cf26)
Contributor
There was a problem hiding this comment.
This report is automatically generated by the PR / Check / cherry-pick CI workflow.
Some of the commits in this PR require the author's and reviewer's attention.
Sometimes it is not possible to cherry-pick exactly the same patch.
This most frequently happens when resolving merge conflicts.
The range-diff will help to review the resolution of conflicts.
If you need to merge this PR despite the warnings, please dismiss this review shortly before merging.
Warning
Difference between 303a026 and original f91cf26 may warrant inspection.
Show diff
@@ Commit message
Fixes: https://github.com/NixOS/nixpkgs/issues/478908
Signed-off-by: Marcin Serwin <[email protected]>
+ (cherry picked from commit f91cf267f2f2a1d9a9bcdc1107a81485e76c745d)
## pkgs/by-name/sd/sdl3/package.nix ##
@@ pkgs/by-name/sd/sdl3/package.nix: stdenv.mkDerivation (finalAttrs: {
@@ pkgs/by-name/sd/sdl3/package.nix: stdenv.mkDerivation (finalAttrs: {
+ ''
+ + lib.optionalString x11Support ''
+ substituteInPlace src/video/x11/SDL_x11vulkan.c \
-+ --replace-fail 'libX11-xcb.so' '${lib.getLib libX11}/lib/libX11-xcb.so'
++ --replace-fail 'libX11-xcb.so' '${lib.getLib xorg.libX11}/lib/libX11-xcb.so'
'';
strictDeps = true;
Hint: The full diffs are also available in the runner logs with slightly better highlighting.
nixpkgs-ci
Bot
requested review from
GrimmTheShrimp,
evysgarden,
getchoo,
jansol and
pbsds
January 11, 2026 16:06
emilazy
added this pull request to the merge queue
Jan 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Manual backport of #479024
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.Add a 👍 reaction to pull requests you find important.