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
1 changed files with 6 additions and 4 deletions

View File

@ -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"; };