Rust hash mismatch in fixed-output derivation #890

Closed
opened 2025-07-06 01:51:43 +00:00 by transgwender · 3 comments
Contributor

Hey there, Im trying to setup continuwuity on my configuration, and am running into an issue where the has specified for the rust channel isn't matching what Im getting. Im on the latest revision of nixpkgs

nix-repl> inputs.continuwuity.packages.x86_64-linux.default
error:
       … while evaluating an expression to select 'drvPath' on it
         at «internal»:1:552:
       … while evaluating strict
         at «internal»:1:552:
       (stack trace truncated; use '--show-trace' to show the full trace)

       error: hash mismatch in fixed-output derivation '/nix/store/6clymykqcjv1ymfzdpgv8pnm3abwaf6x-channel-rust-1.87.0.toml.drv':
           likely URL: https://static.rust-lang.org/dist/channel-rust-1.87.0.toml
            specified: sha256-X/4ZBHO3iW0fOenQ3foEvscgAPJYl2abspaBThDOukI=
                  got: sha256-KUm16pHj+cRedf8vxs/Hd2YWxpOrWZ7UOrwhILdSJBU=
        expected path: /nix/store/g3r3wbr54r7zmam9044xsv7q4c91b8r8-channel-rust-1.87.0.toml
             got path: /nix/store/1dmppf3pwvdfwibhkpgv4nq3skmf1jmf-channel-rust-1.87.0.toml
Hey there, Im trying to setup continuwuity on my configuration, and am running into an issue where the has specified for the rust channel isn't matching what Im getting. Im on the latest revision of nixpkgs ``` nix-repl> inputs.continuwuity.packages.x86_64-linux.default error: … while evaluating an expression to select 'drvPath' on it at «internal»:1:552: … while evaluating strict at «internal»:1:552: (stack trace truncated; use '--show-trace' to show the full trace) error: hash mismatch in fixed-output derivation '/nix/store/6clymykqcjv1ymfzdpgv8pnm3abwaf6x-channel-rust-1.87.0.toml.drv': likely URL: https://static.rust-lang.org/dist/channel-rust-1.87.0.toml specified: sha256-X/4ZBHO3iW0fOenQ3foEvscgAPJYl2abspaBThDOukI= got: sha256-KUm16pHj+cRedf8vxs/Hd2YWxpOrWZ7UOrwhILdSJBU= expected path: /nix/store/g3r3wbr54r7zmam9044xsv7q4c91b8r8-channel-rust-1.87.0.toml got path: /nix/store/1dmppf3pwvdfwibhkpgv4nq3skmf1jmf-channel-rust-1.87.0.toml ```
Author
Contributor

If I may take a ponder, I think the flake.nix file hash didn't get bumped when rust was updated to 1.87.0 in 0ba4a265be, going off of the 1.86.0 update 3cc92b32ec

If I may take a ponder, I think the flake.nix file hash didn't get bumped when rust was updated to 1.87.0 in https://forgejo.ellis.link/continuwuation/continuwuity/commit/0ba4a265bedd40f3e16a69ae038d5311e687874, going off of the 1.86.0 update https://forgejo.ellis.link/continuwuation/continuwuity/commit/3cc92b32ec97667bbabfb44edc305a972a7d3437
Contributor

This is in the process of being solved by: #885 but because that's blocked due to build issues on musl, you may want to continue with #891

This is in the process of being solved by: https://forgejo.ellis.link/continuwuation/continuwuity/pulls/885 but because that's blocked due to build issues on musl, you may want to continue with https://forgejo.ellis.link/continuwuation/continuwuity/pulls/891
Owner

This was fixed by #891, right?

This was fixed by #891, right?
Jade closed this issue 2025-07-07 15:12:41 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: continuwuation/continuwuity#890
No description provided.