mirror of
https://github.com/kittywitch/katgba.git
synced 2025-12-22 00:09:17 -08:00
shell: add rainbow label
This commit is contained in:
parent
cdaa9c1514
commit
cd75ebcf4f
2 changed files with 12 additions and 5 deletions
|
|
@ -64,11 +64,7 @@
|
||||||
katgba = pkgs.callPackage ./package.nix { inherit craneLib rustToolchain rustTriple; };
|
katgba = pkgs.callPackage ./package.nix { inherit craneLib rustToolchain rustTriple; };
|
||||||
in {
|
in {
|
||||||
devShells = let
|
devShells = let
|
||||||
katgba-emu = pkgs.mkShell {
|
katgba-emu = import ./shell.nix { inherit self pkgs; };
|
||||||
nativeBuildInputs = [
|
|
||||||
self.packages.${pkgs.system}.katgba-emu
|
|
||||||
];
|
|
||||||
};
|
|
||||||
in {
|
in {
|
||||||
default = katgba-emu;
|
default = katgba-emu;
|
||||||
inherit katgba-emu;
|
inherit katgba-emu;
|
||||||
|
|
|
||||||
11
shell.nix
Normal file
11
shell.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
{pkgs, self}: let
|
||||||
|
inherit (pkgs) lib mkShell toilet;
|
||||||
|
inherit (lib.meta) getExe;
|
||||||
|
in mkShell {
|
||||||
|
shellHook = ''
|
||||||
|
${getExe toilet} --gay --font mono9 "katgba"
|
||||||
|
'';
|
||||||
|
nativeBuildInputs = [
|
||||||
|
self.packages.${pkgs.system}.katgba-emu
|
||||||
|
];
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue