mirror of
https://github.com/kittywitch/katgba.git
synced 2025-12-22 00:09:17 -08:00
feat: add app for automatic running with an emulator
This commit is contained in:
parent
a84087c06f
commit
5897ef4e08
1 changed files with 11 additions and 2 deletions
13
flake.nix
13
flake.nix
|
|
@ -16,6 +16,7 @@
|
|||
|
||||
outputs =
|
||||
{
|
||||
self,
|
||||
nixpkgs,
|
||||
flake-utils,
|
||||
rust-overlay,
|
||||
|
|
@ -62,7 +63,15 @@
|
|||
|
||||
myPackage = pkgs.callPackage ./package.nix { inherit craneLib rustToolchain rustTriple; };
|
||||
in {
|
||||
inherit pkgsCross;
|
||||
packages.default = myPackage;
|
||||
packages = {
|
||||
default = myPackage;
|
||||
katgba = myPackage;
|
||||
};
|
||||
apps = rec {
|
||||
katgba-emu = flake-utils.lib.mkApp { drv = pkgs.writeShellScriptBin "katgba-emu" ''
|
||||
${pkgs.mgba}/bin/mgba-qt ${lib.getExe self.packages.${system}.default}
|
||||
''; };
|
||||
default = katgba-emu;
|
||||
};
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue