Closed cody-quinn closed 1 year ago
Hi. Thank you for reporting this issue. Don't know exactly how it happened, but I think I might committed one hash for a nested rust derivation inside of safetensors python package, and then updated outer source part with some minor change. It affected true hash for a nested derivation, but since it was already cached nix just didn't rebuild the package.
I have the same problem on master
$ nix run .#invokeai.amd -- --web
error: hash mismatch in fixed-output derivation '/nix/store/x61qnng9yshji0f8nddqvidrjf68dkkh-safetensors-0.3.1-vendor.tar.gz.drv':
specified: sha256-3SluST4muwNxgt+GQ6ZuZ62TfMr5ZYiYN9M0QyhmsWc=
got: sha256-QCON2X4VBwwf4crftl8XBkAUnajvp8MjTWL/ym3tMmk=
error: 1 dependencies of derivation '/nix/store/ak2fhwd3dvcx5h5smpz1lzgbjl6clk3g-python3.10-safetensors-0.3.1.drv' failed to build
error: 1 dependencies of derivation '/nix/store/nwgwwdrksh7dk7gwss8g3v9w27wia41d-invokeai-2.3.5.drv' failed to build
When I try running the invokeai.amd output (using
nix run .#invokeai.amd -- --web --root_dir "root"
) it results in the following error.