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,10 +225,12 @@ let
nix = build.x86_64-linux; system = "x86_64-linux"; 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
import ./tests/setuid.nix rec { (pkgs.lib.filter (system: system == "x86_64-linux" || system == "i686-linux") systems)
nix = build.${system}; inherit system; (system:
}); import ./tests/setuid.nix rec {
nix = build.${system}; inherit system;
});
tests.binaryTarball = tests.binaryTarball =
with import <nixpkgs> { system = "x86_64-linux"; }; with import <nixpkgs> { system = "x86_64-linux"; };