equibop: make hash platform-specific

This commit is contained in:
Gaetan Lepage
2026-01-27 16:09:57 +00:00
parent 4ae5bcb5cf
commit 90d0adfb72
+7 -1
View File
@@ -48,7 +48,13 @@ stdenvNoCC.mkDerivation {
runHook postInstall
'';
outputHash = "sha256-YqUAP11oSxfKifa8QL4VXGCWV5xGG2+vk60f4NdIXIA=";
outputHash =
{
x86_64-linux = "sha256-YqUAP11oSxfKifa8QL4VXGCWV5xGG2+vk60f4NdIXIA=";
aarch64-linux = "sha256-q7adhMY95g5BCcoiCVIwCpnqJAidE4a2cxGOjuE2YDk=";
}
.${stdenvNoCC.hostPlatform.system}
or (throw "Unsupported system ${stdenvNoCC.hostPlatform.system}");
outputHashAlgo = "sha256";
outputHashMode = "recursive";
}