Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .nix/deps/rust-gpu.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ let
version = "0.10.0-alpha.1";
src = pkgs.fetchgit {
url = "https://github.com/Rust-GPU/rust-gpu";
rev = "e53a94458e1e699f0d5f56acfcd71fc483c37da0";
sha256 = "sha256-V1c0tMjCr1e414fprID7cFFMHc2UlUUodKiBYqbvFB8=";
rev = "2fff75a21a1909945ac85f5818843dd9960004d7";
sha256 = "sha256-clUt4jUh4D9EmoXZFgur1RrMYob4X5jti2e2hvBnAx8=";

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.

P2: The rev bump changes which commit's Cargo.lock cargoHash covers, but the cargoHash was left untouched at sha256-9dGb+.... If the new commit altered any dependency pin in its workspace, the Nix build fails with a hash mismatch and needs a regenerated cargoHash. Please rebuild the derivation (or run nix-prefetch on the new rev's lock closure) and confirm cargoHash is still valid, updating it if Nix reports a new value.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At .nix/deps/rust-gpu.nix, line 38:

<comment>The rev bump changes which commit's Cargo.lock `cargoHash` covers, but the `cargoHash` was left untouched at `sha256-9dGb+...`. If the new commit altered any dependency pin in its workspace, the Nix build fails with a hash mismatch and needs a regenerated `cargoHash`. Please rebuild the derivation (or run `nix-prefetch` on the new rev's lock closure) and confirm `cargoHash` is still valid, updating it if Nix reports a new value.</comment>

<file context>
@@ -34,8 +34,8 @@ let
-          rev = "e53a94458e1e699f0d5f56acfcd71fc483c37da0";
-          sha256 = "sha256-V1c0tMjCr1e414fprID7cFFMHc2UlUUodKiBYqbvFB8=";
+          rev = "2fff75a21a1909945ac85f5818843dd9960004d7";
+          sha256 = "sha256-clUt4jUh4D9EmoXZFgur1RrMYob4X5jti2e2hvBnAx8=";
         };
         cargoHash = "sha256-9dGb+RDYpJKaIhkMPkZAx1M1VGE3gMfCD2T84i1VtV8=";
</file context>

};
cargoHash = "sha256-9dGb+RDYpJKaIhkMPkZAx1M1VGE3gMfCD2T84i1VtV8=";
cargoBuildFlags = [
Expand Down
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,8 @@ clap = "4.5"

# Ensure these are kept in sync with .nix/deps/rust-gpu.nix
# Git commit required for glam=0.33 support (TODO: use release when new version is published. Last publish was Apr 17)
spirv-std = { git = "https://github.com/Rust-GPU/rust-gpu.git", rev = "e53a94458e1e699f0d5f56acfcd71fc483c37da0", features = ["bytemuck"] }
cargo-gpu-install = { git = "https://github.com/Rust-GPU/rust-gpu.git", rev = "e53a94458e1e699f0d5f56acfcd71fc483c37da0", default-features = false }
spirv-std = { git = "https://github.com/Rust-GPU/rust-gpu.git", rev = "2fff75a21a1909945ac85f5818843dd9960004d7", features = ["bytemuck"] }
cargo-gpu-install = { git = "https://github.com/Rust-GPU/rust-gpu.git", rev = "2fff75a21a1909945ac85f5818843dd9960004d7", default-features = false }

qrcodegen = "1.8"
lzma-rust2 = { version = "0.16", default-features = false, features = ["std", "encoder", "optimization", "xz"] }
Expand Down
Loading