Merge pull request #25225 from Ericson2314/linux-cross-stdenv-eval

linux cross stdenv: Pull platforms from lib to cut eval time
This commit is contained in:
John Ericson 2017-04-25 20:01:46 -04:00 committed by GitHub
commit 6cb0f0bcd9

View File

@ -3,8 +3,8 @@
let buildFor = toolsArch: (
let
lib = import ../../../lib;
pkgsFun = import ../../..;
pkgsNoParams = pkgsFun {};
sheevaplugCrossSystem = {
crossSystem = rec {
@ -14,7 +14,7 @@ let
float = "soft";
withTLS = true;
libc = "glibc";
platform = pkgsNoParams.platforms.sheevaplug;
platform = lib.systems.platforms.sheevaplug;
openssl.system = "linux-generic32";
inherit (platform) gcc;
};
@ -29,7 +29,7 @@ let
fpu = "vfp";
withTLS = true;
libc = "glibc";
platform = pkgsNoParams.platforms.raspberrypi;
platform = lib.systems.platforms.raspberrypi;
openssl.system = "linux-generic32";
inherit (platform) gcc;
};
@ -44,7 +44,7 @@ let
fpu = "vfpv3-d16";
withTLS = true;
libc = "glibc";
platform = pkgsNoParams.platforms.armv7l-hf-multiplatform;
platform = lib.systems.platforms.armv7l-hf-multiplatform;
openssl.system = "linux-generic32";
inherit (platform) gcc;
};
@ -57,7 +57,7 @@ let
arch = "aarch64";
withTLS = true;
libc = "glibc";
platform = pkgsNoParams.platforms.aarch64-multiplatform;
platform = lib.systems.platforms.aarch64-multiplatform;
inherit (platform) gcc;
};
};