envoy: add fetch hash for aarch64-linux

This commit is contained in:
Luke Granger-Brown 2022-04-15 09:17:48 +00:00
parent 536b77fd50
commit b23255a51c

View File

@ -74,7 +74,10 @@ buildBazelPackage rec {
]; ];
fetchAttrs = { fetchAttrs = {
sha256 = "0f7mls2zrpjjvbz6pgkzrvr55bv05xn2l76j9i1r0cf367qqfkz8"; sha256 = {
x86_64-linux = "0f7mls2zrpjjvbz6pgkzrvr55bv05xn2l76j9i1r0cf367qqfkz8";
aarch64-linux = "1l3ls47z20xrw6x9qps5jm7vq50xb1acv9gczfdrj9hw6jybgwgg";
}.${stdenv.system} or (throw "unsupported system ${stdenv.system}");
dontUseCmakeConfigure = true; dontUseCmakeConfigure = true;
dontUseGnConfigure = true; dontUseGnConfigure = true;
preInstall = '' preInstall = ''
@ -124,6 +127,7 @@ buildBazelPackage rec {
"--noexperimental_strict_action_env" "--noexperimental_strict_action_env"
"--cxxopt=-Wno-maybe-uninitialized" "--cxxopt=-Wno-maybe-uninitialized"
"--cxxopt=-Wno-uninitialized" "--cxxopt=-Wno-uninitialized"
"--cxxopt=-Wno-error=type-limits"
]; ];
passthru.tests = { passthru.tests = {
@ -137,6 +141,6 @@ buildBazelPackage rec {
description = "Cloud-native edge and service proxy"; description = "Cloud-native edge and service proxy";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ lukegb ]; maintainers = with maintainers; [ lukegb ];
platforms = [ "x86_64-linux" ]; # Other platforms will generate different fetch hashes. platforms = [ "x86_64-linux" "aarch64-linux" ];
}; };
} }