diff options
| author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2025-04-29 02:18:21 +0200 |
|---|---|---|
| committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2025-05-25 14:43:14 +0200 |
| commit | 99887950106c637aeb8197d2295409d1932248de (patch) | |
| tree | c60840c0097934fbb4203a389bdeacbf2f8af0e2 /lib/systems | |
| parent | python3Packages.nltk: add data(Dir) passthru, run tests (#409680) (diff) | |
| download | nixpkgs-99887950106c637aeb8197d2295409d1932248de.tar.gz | |
lib.systems.loongarch64-multiplatform: init
Diffstat (limited to 'lib/systems')
| -rw-r--r-- | lib/systems/platforms.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/systems/platforms.nix b/lib/systems/platforms.nix index 8e3f3621698b..9c9010b9fb46 100644 --- a/lib/systems/platforms.nix +++ b/lib/systems/platforms.nix @@ -583,6 +583,14 @@ rec { # https://github.com/llvm/llvm-project/pull/132173 cmodel = "medium"; }; + linux-kernel = { + name = "loongarch-multiplatform"; + target = "vmlinuz.efi"; + autoModules = true; + preferBuiltin = true; + baseConfig = "defconfig"; + DTB = true; + }; }; # This function takes a minimally-valid "platform" and returns an @@ -611,6 +619,9 @@ rec { else if platform.isAarch64 then if platform.isDarwin then apple-m1 else aarch64-multiplatform + else if platform.isLoongArch64 then + loongarch64-multiplatform + else if platform.isRiscV then riscv-multiplatform |
