From e4ece83b1aad1bbbdc7cd39d9d0829f85330e505 Mon Sep 17 00:00:00 2001
From: Graham Christensen <graham@grahamc.com>
Date: Tue, 12 Dec 2017 08:31:31 -0500
Subject: [PATCH] tests.setuid: only on i686 and x86_64 linuxs

---
 release.nix | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/release.nix b/release.nix
index c5c2170f7..538211ca9 100644
--- a/release.nix
+++ b/release.nix
@@ -225,10 +225,12 @@ let
       nix = build.x86_64-linux; system = "x86_64-linux";
     });
 
-    tests.setuid = pkgs.lib.genAttrs (pkgs.lib.filter (pkgs.lib.hasSuffix "-linux") systems) (system:
-      import ./tests/setuid.nix rec {
-        nix = build.${system}; inherit system;
-      });
+    tests.setuid = pkgs.lib.genAttrs
+      (pkgs.lib.filter (system: system == "x86_64-linux" || system == "i686-linux") systems)
+      (system:
+        import ./tests/setuid.nix rec {
+          nix = build.${system}; inherit system;
+        });
 
     tests.binaryTarball =
       with import <nixpkgs> { system = "x86_64-linux"; };
-- 
GitLab