nixpkgs/lib
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
..
systems lib.systems.examples: canonicalize MIPS triples 2022-07-03 23:01:21 +00:00
tests teams/maintainers list: show instructions for validating the contents 2022-06-20 22:20:26 +02:00
asserts.nix lib/asserts: use throw to display message for assertMsg 2022-01-19 00:50:06 +01:00
attrsets.nix lib.foldAttrs: Clarify example 2022-05-10 07:01:00 +02:00
cli.nix
customisation.nix lib/customization: Improve callPackage error message for missing args 2022-04-01 22:03:05 +02:00
debug.nix lib/debug: add traceFnSeqN 2021-01-25 19:25:50 +01:00
default.nix lib/options: Add showOptionWithDefLocs 2022-06-21 14:22:33 +02:00
deprecated.nix treewide: fold -> foldr 2021-01-26 10:57:07 +07:00
fetchers.nix
filesystem.nix lib: Add readTree function to filesystem 2020-10-19 16:42:21 -07:00
fixed-points.nix lib.compose{Many,}Extensions: Make compatible with nix flake check 2021-08-26 09:12:17 -04:00
flake.nix Fix import path. 2021-08-14 14:46:00 -05:00
generators.nix lib/generators: withRecursion: don't break attr-sets with special attrs 2022-04-12 12:34:23 +02:00
kernel.nix
licenses.nix lib.licenses: add Aladdin Free Public License 2022-07-02 15:51:25 +07:00
lists.nix Fix typo in compareLists docstring 2022-05-30 12:14:45 +02:00
meta.nix lib/meta: add getExe to get the main program of a drv 2022-04-24 04:19:49 +03:00
minver.nix
modules.nix lib/modules: Throw earlier when module function does not return attrs 2022-06-14 23:23:41 +02:00
options.nix lib/options: Add hint for debugging infinite recursion in docs 2022-06-27 17:41:32 +02:00
source-types.nix lib.sourceTypes: simplify implementation 2022-05-30 16:27:34 +08:00
sources.nix lib.sources: Improve docs 2022-01-30 02:04:51 +01:00
strings-with-deps.nix lib: Use Nix's static scope checking, fix error message, optimize 2020-10-22 13:46:47 +02:00
strings.nix lib/strings/toShellVars: handle derivations as strings 2022-05-07 17:01:51 +02:00
trivial.nix Merge pull request #157480 from MatthewCroughan/in-pure-eval-mode 2022-06-10 16:31:31 +02:00
types.nix lib.deferredModule: Make it properly singular 2022-06-14 23:01:27 +02:00
versions.nix
zip-int-bits.nix lib/zip-int-bits: fix typo: bitXOR -> bitXor 2022-06-09 20:04:37 +03:00