feat: shell with emulator

This commit is contained in:
Kat Inskip 2025-07-24 20:45:48 -07:00
parent f21118f9f7
commit cdaa9c1514
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
5 changed files with 37 additions and 22 deletions

7
katgba-emu.nix Normal file
View file

@ -0,0 +1,7 @@
{ writeShellScriptBin, mgba, lib, katgba }:
let
inherit (lib.meta) getExe';
in writeShellScriptBin "katgba-emu" ''
${mgba}/bin/mgba-qt ${getExe' katgba "katgba"}
''