diff options
author | Martin Weinelt <mweinelt@users.noreply.github.com> | 2023-01-03 07:00:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-03 07:00:45 +0100 |
commit | b38111a665a90b5365c9624dacfe06ed9c139042 (patch) | |
tree | b985bd27338e3ad76afcc6f9b4cc554e1ecea2fd /lib/systems | |
parent | 789db3cfd51dfd7dbb2ac92d89ee431bf21322a1 (diff) | |
parent | c0a40bee00461f2b4999cbec319d1e54baa9d87f (diff) |
Merge pull request #208698 from amjoseph-nixpkgs/pr/nss/ilp32
Diffstat (limited to 'lib/systems')
-rw-r--r-- | lib/systems/inspect.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/systems/inspect.nix b/lib/systems/inspect.nix index 4e0bb8e672e9a..53d84118bd30d 100644 --- a/lib/systems/inspect.nix +++ b/lib/systems/inspect.nix @@ -48,6 +48,7 @@ rec { is32bit = { cpu = { bits = 32; }; }; is64bit = { cpu = { bits = 64; }; }; + isILP32 = map (a: { abi = { abi = a; }; }) [ "n32" "ilp32" "x32" ]; isBigEndian = { cpu = { significantByte = significantBytes.bigEndian; }; }; isLittleEndian = { cpu = { significantByte = significantBytes.littleEndian; }; }; |