Skip to content

Commit

Permalink
linux cross stdenv: Pull platforms from lib to cut eval time
Browse files Browse the repository at this point in the history
  • Loading branch information
Ericson2314 committed Apr 25, 2017
1 parent 49c99b7 commit 78bb5f5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pkgs/stdenv/linux/make-bootstrap-tools-cross.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
let buildFor = toolsArch: (

let
lib = import ../../../lib;
pkgsFun = import ../../..;
pkgsNoParams = pkgsFun {};

sheevaplugCrossSystem = {
crossSystem = rec {
Expand All @@ -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;
};
Expand All @@ -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;
};
Expand All @@ -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;
};
Expand All @@ -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;
};
};
Expand Down

0 comments on commit 78bb5f5

Please sign in to comment.