tt-metal: fix sfpi hash

Without the change the build fails to build as:

    $ nix build --no-link -f. tt-metal
    error: hash mismatch in fixed-output derivation '/nix/store/kh2i38k4yn6a8pqi0d04kngylxxld0di-sfpi_7.1.0_x86_64.txz.drv':
         specified: sha256-eRGNHeKM2T4ZylN4tTghR0vN9F3BY1tfam2puvwVmuM=
            got:    sha256-rQfFveg1ht+jLfk3ZOJadX26+ODE3WW5E0/18eIl7RQ=
    error: Cannot build '/nix/store/hpd2cacvknpwy52znq6bg0cnnpp2izsb-sfpi-7.1.0.drv'.
       Reason: 1 dependency failed.
       Output paths:
         /nix/store/a3hivpzb9s0w8k8ff4rgv6sfqk1yyry6-sfpi-7.1.0
    error: Cannot build '/nix/store/34iy9gahhrdc7j1vphlr8jd5aw4fs1xr-tt-metal-0.62.2.drv'.
       Reason: 1 dependency failed.
       Output paths:
         /nix/store/r3sp4vc5c45i6hfc1kbwivi4lyxw48hm-tt-metal-0.62.2
This commit is contained in:
Sergei Trofimovich
2025-09-28 20:00:28 +01:00
parent bcffac3ac5
commit 380f0cd846
+2 -2
View File
@@ -33,11 +33,11 @@ runCommand "sfpi-${version}"
{
aarch64-linux = fetchurl {
url = "https://github.com/tenstorrent/sfpi/releases/download/v${version}/sfpi_${version}_aarch64.txz";
hash = "sha256-3DQrQewrKnbWNCBw3r7lkwylpKZnouLRG/QXcB6OhDU=";
hash = "sha256-MzI159hiitk1iyeGfQaDOQZhqGjfafpCMz6zmM3HrYs=";
};
x86_64-linux = fetchurl {
url = "https://github.com/tenstorrent/sfpi/releases/download/v${version}/sfpi_${version}_x86_64.txz";
hash = "sha256-eRGNHeKM2T4ZylN4tTghR0vN9F3BY1tfam2puvwVmuM=";
hash = "sha256-rQfFveg1ht+jLfk3ZOJadX26+ODE3WW5E0/18eIl7RQ=";
};
}
."${stdenv.hostPlatform.system}" or (throw "SFPI does not support ${stdenv.hostPlatform.system}");