tests.setuid: only on i686 and x86_64 linuxs

This commit is contained in:
Graham Christensen 2017-12-12 08:31:31 -05:00
parent 1ca8e95178
commit e4ece83b1a
No known key found for this signature in database
GPG key ID: ACA1C1D120C83D5C

View file

@ -225,7 +225,9 @@ let
nix = build.x86_64-linux; system = "x86_64-linux";
});
tests.setuid = pkgs.lib.genAttrs (pkgs.lib.filter (pkgs.lib.hasSuffix "-linux") systems) (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;
});