forked from DGNum/liminix
examples/hello-from-qemu: add platforms
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
This commit is contained in:
parent
0813d09fde
commit
385ebea57d
1 changed files with 8 additions and 1 deletions
|
@ -42,5 +42,12 @@ in rec {
|
||||||
figlet
|
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";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue