Skip to content

librashader: fix building with stable rust#418382

Merged
Aleksanaa merged 1 commit intoNixOS:masterfrom
Prince213:push-pyulooorolnx
Jun 20, 2025
Merged

librashader: fix building with stable rust#418382
Aleksanaa merged 1 commit intoNixOS:masterfrom
Prince213:push-pyulooorolnx

Conversation

@Prince213
Copy link
Member

@Prince213 Prince213 commented Jun 20, 2025

We are building the package with stable rust so we should follow https://github.com/SnowflakePowered/librashader?tab=readme-ov-file#building-against-stable-rust.

The generate header doesn't have necessary #if guards which causes ares build failure.
This PR fixes that and thus fixes building ares.

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • Nixpkgs 25.11 Release Notes (or backporting 24.11 and 25.05 Nixpkgs Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
  • NixOS 25.11 Release Notes (or backporting 24.11 and 25.05 NixOS Release notes)
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other contributing documentation in corresponding paths.

Add a 👍 reaction to pull requests you find important.

@Prince213 Prince213 mentioned this pull request Jun 20, 2025
13 tasks
@Prince213 Prince213 requested a review from nadiaholmquist June 20, 2025 09:29
@Prince213 Prince213 added 0.kind: bug Something is broken 0.kind: build failure A package fails to build labels Jun 20, 2025
@github-actions github-actions bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Jun 20, 2025
@Prince213
Copy link
Member Author

nixpkgs-review result

Generated using nixpkgs-review-gha

Command: nixpkgs-review pr 418382

Logs: https://github.com/Prince213/nixpkgs-review-gha/actions/runs/15776681317


aarch64-darwin (sandbox = true)

✅ 2 packages built:
  • ares
  • librashader

@github-actions github-actions bot added 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. labels Jun 20, 2025
@Prince213 Prince213 force-pushed the push-pyulooorolnx branch from 619a6a8 to 69fd391 Compare June 20, 2025 11:39
@Prince213
Copy link
Member Author

nixpkgs-review result

Generated using nixpkgs-review-gha

Command: nixpkgs-review pr 418382

Logs: https://github.com/Prince213/nixpkgs-review-gha/actions/runs/15778154233


x86_64-linux (sandbox = true)

✅ 2 packages built:
  • ares
  • librashader

aarch64-darwin (sandbox = true)

✅ 2 packages built:
  • ares
  • librashader

@Prince213 Prince213 requested a review from Aleksanaa June 20, 2025 12:19
@Aleksanaa Aleksanaa merged commit 0cf4713 into NixOS:master Jun 20, 2025
26 of 28 checks passed
@Prince213
Copy link
Member Author

Thanks!

@Prince213 Prince213 deleted the push-pyulooorolnx branch June 27, 2025 04:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0.kind: bug Something is broken 0.kind: build failure A package fails to build 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants