summary refs log tree commit diff
path: root/pkgs/servers/http
diff options
context:
space:
mode:
authorLuke Granger-Brown <git@lukegb.com>2022-04-15 09:17:48 +0000
committerLuke Granger-Brown <git@lukegb.com>2022-04-15 09:17:48 +0000
commitb23255a51c3faa1994f17b0cff36732f6e202723 (patch)
tree3b34e0e81813fd7fc0daf11c71fb3f72e1dd0fc5 /pkgs/servers/http
parent536b77fd501f6554a5739f161e72ad78e9001d99 (diff)
downloadnixpkgs-b23255a51c3faa1994f17b0cff36732f6e202723.tar
nixpkgs-b23255a51c3faa1994f17b0cff36732f6e202723.tar.gz
nixpkgs-b23255a51c3faa1994f17b0cff36732f6e202723.tar.bz2
nixpkgs-b23255a51c3faa1994f17b0cff36732f6e202723.tar.lz
nixpkgs-b23255a51c3faa1994f17b0cff36732f6e202723.tar.xz
nixpkgs-b23255a51c3faa1994f17b0cff36732f6e202723.tar.zst
nixpkgs-b23255a51c3faa1994f17b0cff36732f6e202723.zip
envoy: add fetch hash for aarch64-linux
Diffstat (limited to 'pkgs/servers/http')
-rw-r--r--pkgs/servers/http/envoy/default.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/servers/http/envoy/default.nix b/pkgs/servers/http/envoy/default.nix
index 64565a57ff9..5a85c2c1ab6 100644
--- a/pkgs/servers/http/envoy/default.nix
+++ b/pkgs/servers/http/envoy/default.nix
@@ -74,7 +74,10 @@ buildBazelPackage rec {
   ];
 
   fetchAttrs = {
-    sha256 = "0f7mls2zrpjjvbz6pgkzrvr55bv05xn2l76j9i1r0cf367qqfkz8";
+    sha256 = {
+      x86_64-linux = "0f7mls2zrpjjvbz6pgkzrvr55bv05xn2l76j9i1r0cf367qqfkz8";
+      aarch64-linux = "1l3ls47z20xrw6x9qps5jm7vq50xb1acv9gczfdrj9hw6jybgwgg";
+    }.${stdenv.system} or (throw "unsupported system ${stdenv.system}");
     dontUseCmakeConfigure = true;
     dontUseGnConfigure = true;
     preInstall = ''
@@ -124,6 +127,7 @@ buildBazelPackage rec {
     "--noexperimental_strict_action_env"
     "--cxxopt=-Wno-maybe-uninitialized"
     "--cxxopt=-Wno-uninitialized"
+    "--cxxopt=-Wno-error=type-limits"
   ];
 
   passthru.tests = {
@@ -137,6 +141,6 @@ buildBazelPackage rec {
     description = "Cloud-native edge and service proxy";
     license = licenses.asl20;
     maintainers = with maintainers; [ lukegb ];
-    platforms = [ "x86_64-linux" ];  # Other platforms will generate different fetch hashes.
+    platforms = [ "x86_64-linux" "aarch64-linux" ];
   };
 }