mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
linux cross stdenv: Pull platforms from lib to cut eval time
This commit is contained in:
parent
49c99b70cf
commit
78bb5f5f37
@ -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;
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user