box86: Add 32 bit cross-platform support on Risc-V

This commit is contained in:
Charlotte 🦝 Deleńkec 2025-06-26 14:20:16 +01:00 committed by Weijia Wang
parent 8bd104e9c3
commit cc016577d3

View File

@ -1387,6 +1387,8 @@ with pkgs;
pkgsCross.gnu32.callPackage ../applications/emulators/box86 args
else if stdenv.hostPlatform.isAarch64 then
pkgsCross.armv7l-hf-multiplatform.callPackage ../applications/emulators/box86 args
else if stdenv.hostPlatform.isRiscV64 then
pkgsCross.riscv32.callPackage ../applications/emulators/box86 args
else
throw "Don't know 32-bit platform for cross from: ${stdenv.hostPlatform.stdenv}";