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 lib: Clean up how linux and gcc config is specified 2021-01-23 10:01:28 -05:00
default.nix stdenv: fix evaluation of platform emulator 2022-05-24 12:01:56 +08:00
doubles.nix systems: support cross-compiling for Renesas RX microcontrollers (#173858) 2022-05-22 20:52:36 -04:00
examples.nix lib.systems.examples: canonicalize MIPS triples 2022-07-03 23:01:21 +00:00
flake-systems.nix lib.systems: remove supported, replace with flakeExposed 2022-05-23 15:27:30 +02:00
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