nixpkgs-suyu/lib
Adam Joseph 12371a51e6 lib/systems: add mips64el definitions
MIPS has a large space of {architecture,abi,endianness}; this commit
adds all of them to lib/systems/platforms.nix so we can be done with
it.

Currently lib/systems/inspect.nix has a single "isMips" predicate,
which is a bit ambiguous now that we will have both mips32 and mips64
support, with the latter having two ABIs.  Let's add four new
predicates (isMips32, isMips64, isMips64n32, and isMips64n64) and
treat the now-ambiguous isMips as deprecated in favor of the
more-specific predicates.  These predicates are used mainly for
enabling/disabling target-specific workarounds, and it is extremely
rare that a platform-specific workaround is needed, and both mips32
and mips64 need exactly the same workaround.

The separate predicates (isMips64n32 and isMips64n64) for ABI
distinctions are, unfortunately, useful.  Boost's user-scheduled
threading (used by nix) does does not currently supports mips64n32,
which is a very desirable ABI on routers since they rarely have
more than 2**32 bytes of DRAM.
2022-03-10 20:30:16 -08:00
..
systems lib/systems: add mips64el definitions 2022-03-10 20:30:16 -08:00
tests lib/systems: add mips64el definitions 2022-03-10 20:30:16 -08:00
asserts.nix lib/asserts: use throw to display message for assertMsg 2022-01-19 00:50:06 +01:00
attrsets.nix lib.isDerivation: Simplify 2022-03-09 15:48:30 +01:00
cli.nix
customisation.nix
debug.nix
default.nix Merge pull request #157301 from pennae/lib-add-mkPackageOption 2022-02-28 20:37:59 +01:00
deprecated.nix
fetchers.nix
filesystem.nix
fixed-points.nix
flake.nix
generators.nix
kernel.nix
licenses.nix Merge pull request #155707 from 06kellyjac/feh 2022-02-16 13:31:43 +01:00
lists.nix
meta.nix lib/meta: fix typo in platformMatch comment 2022-01-24 12:54:22 -03:00
minver.nix
modules.nix lib.modules: Use types.optionType for _module.freeformType 2022-03-01 19:31:02 +01:00
options.nix Merge pull request #156503 from hercules-ci/nixos-add-system.build-options 2022-01-25 14:13:24 +01:00
sources.nix lib.sources: Improve docs 2022-01-30 02:04:51 +01:00
strings-with-deps.nix
strings.nix
trivial.nix lib.trivial: Change comment type before concat function 2022-01-30 02:02:09 +01:00
types.nix lib.types.optionType: Only merge when necessary 2022-03-10 20:25:49 +01:00
versions.nix
zip-int-bits.nix