about summary refs log tree commit diff
path: root/lib/systems/inspect.nix
diff options
context:
space:
mode:
authorjackyliu16 <18922251299@163.com>2023-04-27 20:04:17 +0300
committerjackyliu16 <18922251299@163.com>2023-04-27 20:04:30 +0300
commitedcad332d938a97d09d3b3664ed4618eaf1d4938 (patch)
treed2372cfe5f6ccb5ea9f34b06c0c6c8f88a6a5920 /lib/systems/inspect.nix
parente4afdab028040a857318c7a6aab986e340404373 (diff)
lib.platforms.loongarch64: init
Diffstat (limited to 'lib/systems/inspect.nix')
-rw-r--r--lib/systems/inspect.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/systems/inspect.nix b/lib/systems/inspect.nix
index b32c8630107b4..ce9e5068c9052 100644
--- a/lib/systems/inspect.nix
+++ b/lib/systems/inspect.nix
@@ -49,6 +49,7 @@ rec {
     isM68k         = { cpu = { family = "m68k"; }; };
     isS390         = { cpu = { family = "s390"; }; };
     isS390x        = { cpu = { family = "s390"; bits = 64; }; };
+    isLoongArch64  = { cpu = { family = "loongarch"; bits = 64; }; };
     isJavaScript   = { cpu = cpuTypes.javascript; };
 
     is32bit        = { cpu = { bits = 32; }; };