summary refs log tree commit diff
path: root/lib/tests/systems.nix
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2019-07-10 14:38:55 -0400
committerMatthew Bauer <mjbauer95@gmail.com>2019-07-10 15:14:59 -0400
commitd059185badb3203d35eee0f70c48b85bf278fb57 (patch)
tree82dd52da130d0c08f716bb6f0f506ac7c84affa5 /lib/tests/systems.nix
parent42559f1cf1ffac88c49f9c47d94d3f8499a052ec (diff)
downloadnixpkgs-d059185badb3203d35eee0f70c48b85bf278fb57.tar
nixpkgs-d059185badb3203d35eee0f70c48b85bf278fb57.tar.gz
nixpkgs-d059185badb3203d35eee0f70c48b85bf278fb57.tar.bz2
nixpkgs-d059185badb3203d35eee0f70c48b85bf278fb57.tar.lz
nixpkgs-d059185badb3203d35eee0f70c48b85bf278fb57.tar.xz
nixpkgs-d059185badb3203d35eee0f70c48b85bf278fb57.tar.zst
nixpkgs-d059185badb3203d35eee0f70c48b85bf278fb57.zip
Revert "Revert "systems/doubles.nix: add Apple doubles""
This reverts commit ce2f74df2cade57e74c235292c8b074281903e71.

Doubles are treated as -darwin here, to provide some consistency.
There is some ambiguity between “x86_64-darwin” and “i686-darwin”
which could refer to binaries linked between iOS simulator or real
macOS binaries. useiOSPrebuilt can be used to determine which to use,
however.
Diffstat (limited to 'lib/tests/systems.nix')
-rw-r--r--lib/tests/systems.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/tests/systems.nix b/lib/tests/systems.nix
index 7fc4b2eabcf..5748c09b564 100644
--- a/lib/tests/systems.nix
+++ b/lib/tests/systems.nix
@@ -14,13 +14,13 @@ let
 in with lib.systems.doubles; lib.runTests {
   testall = mseteq all (linux ++ darwin ++ freebsd ++ openbsd ++ netbsd ++ illumos ++ wasi ++ windows ++ embedded);
 
-  testarm = mseteq arm [ "armv5tel-linux" "armv6l-linux" "armv7l-linux" "arm-none" ];
-  testi686 = mseteq i686 [ "i686-linux" "i686-freebsd" "i686-netbsd" "i686-openbsd" "i686-cygwin" "i686-windows" "i686-none" ];
+  testarm = mseteq arm [ "armv5tel-linux" "armv6l-linux" "armv7l-linux" "arm-none" "armv7a-darwin" ];
+  testi686 = mseteq i686 [ "i686-linux" "i686-freebsd" "i686-netbsd" "i686-openbsd" "i686-cygwin" "i686-windows" "i686-none" "i686-darwin" ];
   testmips = mseteq mips [ "mipsel-linux" ];
   testx86_64 = mseteq x86_64 [ "x86_64-linux" "x86_64-darwin" "x86_64-freebsd" "x86_64-openbsd" "x86_64-netbsd" "x86_64-cygwin" "x86_64-solaris" "x86_64-windows" "x86_64-none" ];
 
   testcygwin = mseteq cygwin [ "i686-cygwin" "x86_64-cygwin" ];
-  testdarwin = mseteq darwin [ "x86_64-darwin" ];
+  testdarwin = mseteq darwin [ "x86_64-darwin" "i686-darwin" "aarch64-darwin" "armv7a-darwin" ];
   testfreebsd = mseteq freebsd [ "i686-freebsd" "x86_64-freebsd" ];
   testgnu = mseteq gnu (linux /* ++ kfreebsd ++ ... */);
   testillumos = mseteq illumos [ "x86_64-solaris" ];