3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/lib/systems
Alyssa Ross e8d7d52fae lib.systems.examples: canonicalize MIPS triples
In Nixpkgs, we assume that the "config" field is a canonicalized GNU
triple.  I noticed that non-canonical values were being used here,
because the pkgsCross.mips64el-linux-gnu triples did not contain the
vendor field, but the pkgsCross.mips64el-linux-gnu.pkgsStatic did.

Here, I've run all the MIPS triples in lib.systems.examples through
config.sub to canonicalize them.  I think this will avoid nasty
surprises in future.

Tested by building Nix and the bootstrap files for
pkgsCross.mips64el-linux-gnu.
2022-07-03 23:01:21 +00:00
..
architectures.nix
default.nix stdenv: fix evaluation of platform emulator 2022-05-24 12:01:56 +08:00
doubles.nix
examples.nix lib.systems.examples: canonicalize MIPS triples 2022-07-03 23:01:21 +00:00
flake-systems.nix
inspect.nix lib/systems/inspect.nix: remove isPowerPC 2022-05-25 09:45:42 +02:00
parse.nix lib/systems/parse: don't consider mode switching CPUs compatible 2022-05-23 21:25:04 +02:00
platforms.nix lib.systems: drop scaleway-c1 2022-05-27 12:02:39 +00:00