nixpkgs-suyu/lib/systems
Adam Joseph 20b62456f0 lib/systems/parse.nix: add, use removeAbiSuffix
gnu-config will ignore the portion of a triple matching the regex
`e?abi.*$` when determining the validity of a triple.  In other
words, `i386-linuxabichickenlips` is a valid triple.

This commit updates our parsing routines to match gnu-config.

I was recently surprised to discover that it is in fact possible to
shoehorn ABI flavors into nix doubles in a way which preserves their
property of being a (non-canonical) subset of the valid gnu-config
triples.  This commit is required in order to exploit that discovery
to add automatic detection of ILP32 platforms (64-bit void*, 32-bit
int, like the Apple Watch and MIPS n32) to Nix.
2023-10-22 17:05:05 -07:00
..
architectures.nix lib.systems.architectures: add microarchitecture levels 2023-06-24 00:50:40 -06:00
default.nix Merge pull request #249069 from amjoseph-nixpkgs/pr/lib/systems/ubootArch 2023-09-30 10:45:36 +03:00
doubles.nix lib.platforms.mips{,64}-embedded: init 2023-06-30 18:19:00 -07:00
examples.nix Merge pull request #247077 from jmbaur/aarch64-embedded-rustc 2023-09-23 06:30:47 +03:00
flake-systems.nix
inspect.nix lib.systems: add gnuabin32 to isGnu 2023-06-29 12:26:12 -07:00
parse.nix lib/systems/parse.nix: add, use removeAbiSuffix 2023-10-22 17:05:05 -07:00
platforms.nix lib.systems.bluefield2: remove cpu profile 2023-07-19 13:38:43 +02:00