Skip to content

Commit

Permalink
examples: Remove instances of 'libc = "glibc"', simplify musl variants
Browse files Browse the repository at this point in the history
Probably can remove for darwin/libSystem as well but not doing so
yet since I haven't tested anything there personally.
  • Loading branch information
dtzWill committed Feb 8, 2018
1 parent 8907e12 commit ba48820
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions lib/systems/examples.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ rec {
config = "armv5tel-unknown-linux-gnueabi";
arch = "armv5tel";
float = "soft";
libc = "glibc";
platform = platforms.sheevaplug;
};

Expand All @@ -22,7 +21,6 @@ rec {
arch = "armv6l";
float = "hard";
fpu = "vfp";
libc = "glibc";
platform = platforms.raspberrypi;
};

Expand All @@ -31,14 +29,12 @@ rec {
arch = "armv7-a";
float = "hard";
fpu = "vfpv3-d16";
libc = "glibc";
platform = platforms.armv7l-hf-multiplatform;
};

aarch64-multiplatform = rec {
config = "aarch64-unknown-linux-gnu";
arch = "aarch64";
libc = "glibc";
platform = platforms.aarch64-multiplatform;
};

Expand All @@ -51,23 +47,21 @@ rec {
arch = "armv5tel";
config = "armv5tel-unknown-linux-gnueabi";
float = "soft";
libc = "glibc";
platform = platforms.pogoplug4;
};

fuloongminipc = rec {
config = "mips64el-unknown-linux-gnu";
arch = "mips";
float = "hard";
libc = "glibc";
platform = platforms.fuloong2f_n32;
};

muslpi = (removeAttrs raspberryPi [ "libc" ]) // {
muslpi = raspberryPi // {
config = "armv6l-unknown-linux-musleabihf";
};

aarch64-multiplatform-musl = (removeAttrs aarch64-multiplatform [ "libc" ]) // {
aarch64-multiplatform-musl = aarch64-multiplatform {
config = "aarch64-unknown-linux-musl";
};

Expand Down

0 comments on commit ba48820

Please sign in to comment.