2
0
Fork 0
genodepkgs/platform.nix

18 lines
403 B
Nix
Raw Normal View History

2019-09-13 12:08:40 +02:00
{ platform, execFormats, ... }:
let
f = { isGenode ? false, ... }:
if isGenode then {
uname.system = "Genode";
useLLVM = true;
kernel = {
name = "genode";
execFormat = execFormats.elf;
families = { };
};
abi = "elf";
libc = "genodelibc";
extensions = { executable = ""; sharedLibrary = ".lib.so"; };
} else { };
in f platform