summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver
diff options
context:
space:
mode:
authorAdam Joseph <adam@westernsemico.com>2023-06-07 09:39:42 -0700
committerAdam Joseph <adam@westernsemico.com>2023-10-22 17:05:05 -0700
commit20b62456f0c85b206e59db5f16a7cd0016fa8262 (patch)
treed354bd4ce71993e62927908b6eb101b91491c027 /pkgs/development/python-modules/rangehttpserver
parent3d7a169afe725339aeb7e24b8407fd8a7a013316 (diff)
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.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions