8 assert emulator.version == rom.version;
11 runScript = writeTextFile {
16 defaultRom="${rom}/share/x16-rom/rom.bin"
18 exec "${emulator}/bin/x16emu" -rom $defaultRom "$@"
21 destination = "/bin/run-x16";
25 name = "run-x16-${emulator.version}";
33 # TODO [ AndersonTorres ]:
35 # 1. Parse the command line in order to allow the user to set an optional
37 # 2. generate runScript based on symlinkJoin (maybe a postBuild?)
38 # 3. a NixOS module to abstract the runner