You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
build texpresso or just texpresso.tectonic, e.g.: nix build nixpkgs/nixos-unstable#texpresso.tectonic
Build log
...
patching file Cargo.lock
Hunk #1 succeeded at 2369 (offset -264 lines).
Hunk #2 succeeded at 2704 (offset -231 lines).
Hunk #3 succeeded at 2727 (offset -231 lines).
patching file Cargo.toml
Hunk #1 succeeded at 102 with fuzz 2 (offset 5 lines).
calling 'postPatch' function hook 'cargoSetupPostPatchHook'
Executing cargoSetupPostPatchHook
Validating consistency between /build/source/Cargo.lock and /build/texpresso-tonic-0.15.0-vendor.tar.gz/Cargo.lock
2372d2371
< "time",
2707c2706
< version = "0.3.36"
---
> version = "0.3.34"
2709c2708
< checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885"
---
> checksum = "c8248b6521bb14bc45b4067159b9b6ad792e2d6d754d6c41fb50e29fefe38749"
2730c2729
< version = "0.2.18"
---
> version = "0.2.17"
2732c2731
< checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf"
---
> checksum = "7ba3a3ef41e6672a2f0f001392bb5dcd3ff0a9992d618ca761a11c3121547774"
ERROR: cargoHash or cargoSha256 is out of date
Cargo.lock is not the same in /build/texpresso-tonic-0.15.0-vendor.tar.gz
To fix the issue:
1. Set cargoHash/cargoSha256 to an empty string: `cargoHash = "";`
2. Build the derivation and wait for it to fail with a hash mismatch
3. Copy the "got: sha256-..." value back into the cargoHash field
You should have: cargoHash = "sha256-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX=";
Hash mismatch was caused by NixOS#333143.
The build error message contains:
Validating consistency between /build/source/Cargo.lock and /build/texpresso-tonic-0.15.0-vendor.tar.gz/Cargo.lock
2372d2371
< "time",
2707c2706
< version = "0.3.36"
---
> version = "0.3.34"
...
ERROR: cargoHash or cargoSha256 is out of date
FixesNixOS#334648.
Steps To Reproduce
Steps to reproduce the behavior:
nix build nixpkgs/nixos-unstable#texpresso.tectonic
Build log
Notify maintainers
@NickHu
Metadata
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: