Skip to content

[Backport staging-25.11] sdl3: fix dynamic loading of vulkan - #479065

Merged
emilazy merged 1 commit into
NixOS:staging-25.11from
marcin-serwin:push-zsurwkrlwvkw
Jan 11, 2026
Merged

emilazy merged 1 commit into
NixOS:staging-25.11from
marcin-serwin:push-zsurwkrlwvkw

Conversation

@marcin-serwin

Copy link
Copy Markdown
Contributor

Manual backport of #479024

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

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)

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 nixpkgs-ci Bot added 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 10.rebuild-linux: 2501-5000 This PR causes many rebuilds on Linux and should target the staging branches. 10.rebuild-darwin: 1001-2500 This PR causes many rebuilds on Darwin and should most likely target the staging branches. 4.workflow: backport This targets a stable branch labels Jan 11, 2026
@emilazy
emilazy dismissed github-actions[bot]’s stale review January 11, 2026 19:57

Changes look sensible.

@emilazy
emilazy added this pull request to the merge queue Jan 11, 2026
Merged via the queue into NixOS:staging-25.11 with commit 1e8a587 Jan 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.workflow: backport This targets a stable branch 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 1001-2500 This PR causes many rebuilds on Darwin and should most likely target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 2501-5000 This PR causes many rebuilds on Linux and should target the staging branches. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants