2
0
genodepkgs/tests/x86.nix
Emery Hemingway f8df320507 nixos: add genode.init.coreROMs option
Explicitly specify ROMs that must route past the nix-store.
2020-11-13 15:21:04 +01:00

23 lines
500 B
Nix

{
name = "x86";
constraints = builtins.any (spec: spec == "x86");
machine = { pkgs, ... }: {
genode.init.subinits.test = {
configFile = ./x86.dhall;
coreROMs = [ "platform_info" ];
inputs = with pkgs.genodePackages; [
acpi_drv
platform_drv
report_rom
test-signal
test-pci
test-rtc
];
};
};
testScript = ''
start_all()
machine.wait_until_serial_output("child \"test\" exited with exit value 0")
'';
}