examples/hello-from-qemu: add platforms

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
This commit is contained in:
Raito Bezarius 2024-08-25 18:44:23 +02:00
parent 0813d09fde
commit 385ebea57d

View file

@ -42,5 +42,12 @@ in rec {
figlet
];
nixpkgs.hostPlatform = lib.mkDefault "mipsel-linux";
nixpkgs.hostPlatform = lib.mkDefault {
config = "mips-unknown-linux-musl";
gcc = {
abi = "32";
arch = "mips32"; # maybe mips_24kc-
};
};
nixpkgs.buildPlatform = lib.mkDefault "x86_64-linux";
}